Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInject malicious prompt into agent context
-
DeliveryAgent proposes benign shell command
-
ExploitUser approves execute_command (approval cached by name)
-
ExecutionAgent issues credential-harvesting command
-
PersistSubprocess inherits full os.environ
-
ImpactCredentials silently exfiltrated
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The following concrete conditions must all be satisfied: (1) The praisonaiagents pip package version is below 4.5.128. (2) The |
| Impact | The CVSS 4.0 score of 6.8 (AV:L/AC:L/AT:N/PR:N/UI:P/VC:H) accurately reflects a locally-triggered, high-confidentiality-impact vulnerability requiring passive user interaction. The attack vector is local (AV:L), meaning the attacker is the LLM agent itself executing within the PraisonAI process on the local machine - typically a developer workstation or CI environment rich with secrets. The UI:P metric captures the mandatory initial approval step, which is a genuine but weak gate: users are conditioned to approve benign commands and have no indication that subsequent commands will be silently authorized. A proof-of-concept is embedded in the public GHSA advisory, significantly elevating real-world risk beyond what the mid-range score alone implies. No EPSS data was provided; no CISA KEV listing exists at time of analysis, suggesting no confirmed broad exploitation yet. However, the PoC is complete and trivial to reproduce, and the target environment (developer machines running LLM agents with shell access and loaded with API keys) is high-value. Real-world risk is above average for the affected user population despite the local attack vector. |
| Exploit ScenarioDerived | An attacker crafts a prompt-injection payload embedded in data the LLM agent processes (e.g., a malicious web page, document, or tool response). The agent first legitimately proposes running |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 18, 2026
Tool approval cache bypass in PraisonAI Agents (praisonaiagents < 4.5.128) allows an LLM agent to execute arbitrary subsequent shell commands without user consent after a single initial approval. The approval system caches decisions keyed only on tool name - once a user approves execute_command for any command (e.g., ls -la), all further execute_command invocations in that agent session bypass the approval prompt entirely. Combined with os.environ.copy() passing the full process environment to every subprocess, this enables silent exfiltration of API keys and credentials; a publicly available proof-of-concept is included in the GHSA advisory. No confirmed active exploitation in CISA KEV at time of analysis.
RemediationAI
Upgrade the praisonaiagents pip package to version 4.5.128 or later, where the approval cache is expected to key on both tool name and invocation arguments. The vendor advisory is at https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-ffp3-3562-8cv3 and the VulnCheck write-up at https://www.vulncheck.com/advisories/praisonai-tool-approval-cache-bypass-via-coarse-grained-caching. As a compensating control prior to patching, remove execute_command and all shell tools from agent configurations where possible - this eliminates the attack surface entirely at the cost of losing shell automation capability. Alternatively, strip sensitive environment variables (e.g., OPENAI_API_KEY, AWS_SECRET_ACCESS_KEY) from the process environment before launching any PraisonAI agent session; however, this may break agent functionality that depends on those keys. Do not rely on the current approval UI as a security boundary - it is bypassable after a single user interaction.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PraisonAI Agents (CPE: cpe:2.3:a:praisonai:praisonai:*:*:*:*:*:*:*:*) implements a human-in-the-loop tool approval mechanism via a require_approval decorator in src/praisonai-agents/praisonaiagents/approval/__init__.py. The root cause (CWE-863: Incorrect Authorization) is that is_already_approved() at line 177 checks approval state by tool name string alone, not by the specific invocation arguments. The mark_approved() function in registry.py:144-147 stores only the string 'execute_command', not the command being approved. The clear_approved() function exists at registry.py:152 but is never invoked during the agent's tool execution path (agent/tool_execution.py), so approval state persists for the entire session. The ConsoleBackend UI at backends.py:81-96 displays specific command arguments and asks for confirmation in a way that implies per-invocation consent ('Do you want to execute this ... risk tool?'), creating a misleading security expectation. Separately, shell_tools.py:77 passes os.environ.copy() - including all process-level secrets like OPENAI_API_KEY - to every subprocess without any environment variable sanitization or command filtering.
Know when Praisonai gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local vector (agent runs on victim machine), no privileges required but mandatory initial user interaction (UI:R); high confidentiality via full env var exfiltration, no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
PraisonAI before 1.5.128 caches tool approval decisions by tool name only, not by invocation arguments, allowing subsequent execute_command calls to bypass approval prompts. Attackers can exploit this by obtaining initial approval for a benign command, then silently exfiltrate API keys and credentials via subsequent shell commands without user consent.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th
PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans
Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote
WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att
Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts
PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne
System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection
Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller
SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou
Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv
Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec
Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u
EUVD-2026-37958
GHSA-x44p-gg67-52fc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB