PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
CVE-2026-61447 · GHSA-2xv2-w8cq-5gxw · published 2026-10-08
- Severity
- Critical
- CVSS score
- 10.0
- Chance of exploitation (EPSS)
- 15.2%
- Fixed in
- 1.6.78
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
Full credential theft: All environment variables (API keys, database passwords, cloud tokens) are accessible to LLM-generated code Arbitrary code execution: No restrictions on imports, file access, network access, or system calls Remote exploitation: Reachable via prompt injection in any content the CodeAgent processes
Upgrade praisonaiagents to 1.6.78 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| praisonaiagents | PyPI | <= 1.6.77 | 1.6.78 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- 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
- CriticalPraisonAIAgents has an OS Command Injection via shell=True in Memory Hooks Executor (memory/hooks.py)praisonaiagents
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.