MediumVulnerability
GHSA-ffp3-3562-8cv3: PraisonAI: Coarse-Grained Tool Approval Cache Bypasses Per-Invocation Consent for Shell Commands
- Identifier
- GHSA-ffp3-3562-8cv3
- Published
- Record updated
- Affected
- praisonaiagents < 4.5.128
- Fixed in
- 4.5.128
Summary
PraisonAI Agents caches tool approval by tool name only, so approving one `execute_command` call (for example `ls -la`) silently approves every later `execute_command` call in the same execution context. Because `shell_tools.py` passes the full process environment to subprocesses through `os.environ.copy()`, an agent, possibly via prompt injection, can read secrets such as `OPENAI_API_KEY` without a further consent prompt.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Related items
- MediumCVE-2026-132122: agentic-radar untrusted .env loading leaks OpenAI API key via scan commandSame vendor · NVD/CVE Database
- MediumCVE-2026-130358: AdminNeo before 5.9.1 contains a missing authentication vulnerability in the ClaudeSqlPlugin, GeminiSqlPlugin, and…Same vendor · NVD/CVE Database
- HighZDI-26-968: (Pwn2Own) OpenAI Codex GUI OpenProjectInCodex Argument Injection Remote Code Execution VulnerabilitySame vendor · ZDI Published Advisories
- MediumGHSA-68g8-gh8f-7rhg: pgEdge RAG Server discloses part of the configured provider credential through API error messagesSame vendor · GitHub Advisory Database
- InfoCVE-2026-119990 Azure OpenAI Elevation of Privilege VulnerabilitySame vendor · MSRC Security Update Guide