# CVE-2026-34939: PraisonAI: ReDoS via Unvalidated User-Controlled Regex in MCPToolIndex.search_tools()

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:21:08.000Z
- Modified: 2026-07-24T22:10:00.140Z
- Also known as: GHSA-8w9j-hc3g-3g7f, PYSEC-2026-2907
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: < 4.5.90
- praisonai (PyPI): before 4.5.90
- praison praisonai: before 4.5.90

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-8w9j-hc3g-3g7f> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34939> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonai> (package)
- <https://github.com/advisories/GHSA-8w9j-hc3g-3g7f> (advisory)

## Sources

- CVE List: [CVE-2026-34939](https://www.cve.org/CVERecord?id=CVE-2026-34939), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-8w9j-hc3g-3g7f](https://github.com/advisories/GHSA-8w9j-hc3g-3g7f), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-34939](https://nvd.nist.gov/vuln/detail/CVE-2026-34939), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2907](https://osv.dev/vulnerability/PYSEC-2026-2907), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-34939 · Whole record: https://cve.day/CVE-2026-34939.json · Rebuilt by cve.day 2026-11-25T22:59:17.934Z
