NetSight
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

EcosystemPackageAffectedFixed in
pippraisonai>= 4.5.15, <= 4.5.684.5.69

Affected products

VendorProductAffected versions
PraisonPraisonai
from 4.5.15 before 4.5.69

Weakness classification

References