Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-34935 EUVD-2026-18913GHSA-9gm9-c8mq-vq7mPYSEC-2026-471

PraisonAI: OS Command Injection in MCPHandler.parse_mcp_command()

Published Apr 3, 2026 · Updated Apr 6, 2026 · 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.

Affected products

VendorProductAffectedFixed
MervinPraison PraisonAI >= 4.5.15, < 4.5.69 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonai >= 4.5.15, < 4.5.69 4.5.69 GHSA-9gm9-c8mq-vq7m

References