PraisonAI has sandbox escape via exception frame traversal in `execute_code` (subprocess mode)
CVE-2026-39888 · GHSA-qf73-2hrx-xprp · published 2026-04-08 · updated 2026-11-16
- Severity
- Critical
- CVSS score
- 9.9
- Chance of exploitation (EPSS)
- 0.50%
- Fixed in
- 1.5.115
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
Any application that exposes executecode to user-controlled or LLM-generated input — including all standard PraisonAI agent deployments — is fully compromised by a single API call: Arbitrary command execution on the host (in the subprocess user context) File system read/write — source code, credentials, .env files, SSH keys Environment variable exfiltration — API keys, secrets passed to the agent process Network access — outbound connections to attacker infrastructure unaffected by env={} Lateral movement** — the subprocess inherits the host's network stack and filesystem ---
Upgrade praisonaiagents to 1.5.115 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonaiagents | PyPI | <= 1.5.114 | 1.5.115 |
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- Criticaln8n Vulnerable to Remote Code Execution via Expression Injectionn8n, n8nExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalJupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routesjupyter-mcp-server
- Criticalmem0ai Databricks vector store vulnerable to SQL injectionmem0ai
- CriticalPraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secretspraisonaiagents
- CriticalPraisonAI: Unauthenticated RCE via Jobs API + Approval Bypasspraisonaiagents, praisonai
- CriticalPraisonAI: MCP SSE transport binds 0.0.0.0 with no authentication and no Origin validation; bundled SecurityConfig is never wired inpraisonaiagents
- CriticalPraisonAI AgentTeam.launch exposes unauthenticated remote agent listing and invocation endpointspraisonaiagents
- CriticalPraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)praisonaiagents, praisonai
- CriticalPraisonAI Browser Server allows unauthenticated WebSocket clients to hijack connected extension sessionspraisonaiagents, praisonai
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.