{"id":"CVE-2026-34939","published":"2026-04-03T22:52:32Z","modified":"2026-04-06T19:05:34Z","title":"PraisonAI: ReDoS via Unvalidated User-Controlled Regex in MCPToolIndex.search_tools()","vendor":"MervinPraison","product":"PraisonAI","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to version 4.5.90, MCPToolIndex.search_tools() compiles a caller-supplied string directly as a Python regular expression with no validation, sanitization, or timeout. A crafted regex causes catastrophic backtracking in the re engine, blocking the Python thread for hundreds of seconds and causing a complete service outage. This issue has been patched in version 4.5.90.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00427,"percentile":0.37847,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8w9j-hc3g-3g7f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.57},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"PraisonAI","versions":["< 4.5.90"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-06T19:05:21.329885Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonai","vulnerableRanges":["<4.5.90"],"patched":["4.5.90"],"from":["GHSA-8w9j-hc3g-3g7f","PYSEC-2026-2907"],"provenance":"source"}],"summary":{"text":"PraisonAI, a multi-agent teams system, has a flaw in the MCPToolIndex.search_tools() function, which compiles a caller-supplied string directly as a Python regular expression without validation, sanitization, or timeout. An attacker with low-privilege access over the network can submit a crafted regex that causes catastrophic backtracking, blocking the Python thread for an extended period and causing a complete service outage.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:55:16Z"},"euvd":{"id":"EUVD-2026-18921","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34935","published":"2026-04-03","fixed":"4.5.69","kev":false,"link":{"from":"CVE-2026-34935","to":"CVE-2026-34939","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.69","toFixed":"4.5.90","daysApart":0}]}},{"cve":"CVE-2026-34934","published":"2026-04-03","fixed":"4.5.90","kev":false},{"cve":"CVE-2026-34936","published":"2026-04-03","fixed":"4.5.90","kev":false},{"cve":"CVE-2026-34939","published":"2026-04-03","fixed":"4.5.90","kev":false},{"cve":"CVE-2026-34952","published":"2026-04-03","fixed":"4.5.97","kev":false,"link":{"from":"CVE-2026-34939","to":"CVE-2026-34952","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.90","toFixed":"4.5.97","daysApart":0}]}},{"cve":"CVE-2026-34953","published":"2026-04-03","fixed":"4.5.97","kev":false,"link":{"from":"CVE-2026-34939","to":"CVE-2026-34953","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.90","toFixed":"4.5.97","daysApart":0}]}},{"cve":"CVE-2026-34955","published":"2026-04-03","fixed":"4.5.97","kev":false,"link":{"from":"CVE-2026-34939","to":"CVE-2026-34955","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:praisonai","fromFixed":"4.5.90","toFixed":"4.5.97","daysApart":0}]}}],"package":"PyPI:praisonai"}}