GHSA-mhgx-w3w5-2rvc: Duplicate Advisory: PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
This advisory was withdrawn on Oct 8, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-2xv2-w8cq-5gxw. This link is maintained to preserve external references. Original Description PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent.executepython() that executes LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement.
Published Jul 11, 2026 · Updated Oct 8, 2026
Affected packages
praisonai
- Ecosystem
- PyPI
- Affected
- <= 1.6.77
- Fixed in
- No patched version yet
- Check
pip show praisonai
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-2xv2-w8cq-5gxw. This link is maintained to preserve external references.
Original Description
PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_python() that executes LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement. Attackers can influence LLM output through prompt injection to exfiltrate all environment secrets and execute arbitrary code on the host system.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-61427
PraisonAI: MCP HTTP-stream transport is unauthenticated by default, exposing tool enumeration and an unvalidated tool-call surface
high7.3Oct 8, 2026CVE-2026-61435
PraisonAI: Call API localhost-only authentication bypass via spoofed Host header
high8.2Oct 8, 2026CVE-2026-61445
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
critical9.9Oct 8, 2026CVE-2026-57112
PraisonAI ToolsMCPServer legacy SSE transport accepts attacker Host/Origin and exposes registered tools
high8.3Jun 18, 2026CVE-2026-57116
PraisonAI: AgentOS remains unauthenticated after incomplete fix version and allows remote agent invocation
critical9.8Jun 18, 2026CVE-2026-57124
PraisonAI: Missing Authentication for Critical Function and Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in praisonai
critical9.8Jun 18, 2026
