What’s Vulnerable › Vulnerabilities
CVE-2026-34938: PraisonAI: Python Sandbox Escape via str Subclass startswith() Override in execute_code
- Severity: critical (CVSS 10.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 13.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-03 · updated 2026-07-24
- Weakness: CWE-693
Description
PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host. This issue has been patched in version 1.5.90.
Affected products
- MervinPraison praisonaiagents: before 1.5.90 — fixed in 1.5.90
How to fix
Upgrade to a fixed version: MervinPraison praisonaiagents 1.5.90. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-34938 or the next vulnerability affects your stack