OS Command Injection in PraisonAI --mcp Argument
CVE-2026-34935 is a critical OS command injection vulnerability in PraisonAI, a multi-agent teams system. Affected versions are 4.5.15 through 4.5.68. The root cause is unsafe handling of the --mcp CLI argument: the supplied value is passed directly to shlex.split() and then forwarded through the call chain to anyio.open_process() without validation, sanitization, or allowlist enforcement. This allows attacker-controlled input to influence process execution and results in arbitrary OS command execution with the privileges of the PraisonAI process user. The issue was patched in version 4.5.69.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
--mcp CLI argument or any upstream mechanism that populates it. Restrict access to interfaces that can launch or influence PraisonAI process invocation, enforce strict allowlisting of permitted MCP values, and run PraisonAI with the least privileges possible. Additional mitigations include isolating the service in a hardened container or sandbox, limiting filesystem and network access, monitoring for anomalous child-process creation, and removing sensitive secrets from the process environment where feasible.Remediation
Patch, then assume compromise.
--mcp argument. Review the referenced fixing commit and security advisory to validate the exact code changes and ensure all deployments are updated. After patching, rotate any secrets that may have been exposed to the PraisonAI process, including API keys, tokens, and database credentials, and inspect affected hosts for signs of unauthorized command execution or persistence.Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A critical vulnerability in the PraisonAI framework that can allow complete compromise of the host system executing it, impacting confidentiality, integrity, and availability.
An arbitrary OS command execution vulnerability in PraisonAI caused by unsafe handling of the --mcp CLI argument, affecting versions 4.5.15 through before 4.5.69.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.