# CVE-2026-34935: PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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): 1.15%, higher than 67% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T23:20:00.000Z
- Modified: 2026-11-16T16:15:06.618Z
- Also known as: GHSA-9gm9-c8mq-vq7m, PYSEC-2026-471
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

PraisonAI is a multi-agent teams system. From version 4.5.15 to before version 4.5.69, the --mcp CLI argument is passed directly to shlex.split() and forwarded through the call chain to anyio.open_process() with no validation, allowlist check, or sanitization at any hop, allowing arbitrary OS command execution as the process user. This issue has been patched in version 4.5.69.

(As written by CVE List.)

## Affected

- MervinPraison PraisonAI: >= 4.5.15, < 4.5.69
- praisonai (PyPI): from 4.5.15 before 4.5.69
- praison praisonai: from 4.5.15 before 4.5.69

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9gm9-c8mq-vq7m> (exploit, vendor-advisory, web)
- <https://github.com/MervinPraison/PraisonAI/commit/47bff65413beaa3c21bf633c1fae4e684348368c> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34935> (advisory)
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/praisonai/PYSEC-2026-471.yaml> (web)
- <https://pypi.org/project/praisonai> (package, web)
- <https://github.com/advisories/GHSA-9gm9-c8mq-vq7m> (advisory)

## Sources

- CVE List: [CVE-2026-34935](https://www.cve.org/CVERecord?id=CVE-2026-34935), CVE Terms of Use, modified 2026-04-06
- GitHub Advisory Database: [GHSA-9gm9-c8mq-vq7m](https://github.com/advisories/GHSA-9gm9-c8mq-vq7m), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2026-34935](https://nvd.nist.gov/vuln/detail/CVE-2026-34935), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-471](https://osv.dev/vulnerability/PYSEC-2026-471), CC-BY-4.0, modified 2026-07-13

---

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