CVE-2026-34935
PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | praisonai | 4.5.69 |