critical9.8
CVE-2026-34935
PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | praisonai | >= 4.5.15, <= 4.5.68 | 4.5.69 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Praison | Praisonai | from 4.5.15 before 4.5.69 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-9gm9-c8mq-vq7m
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-9gm9-c8mq-vq7m
- https://github.com/MervinPraison/PraisonAI/commit/47bff65413beaa3c21bf633c1fae4e684348368c
- https://nvd.nist.gov/vuln/detail/CVE-2026-34935