Skip to main content

PraisonAI CVE-2026-57124

| EUVDEUVD-2026-77598 CRITICAL
OS Command Injection (CWE-78)
2026-09-14 GitHub_M GHSA-p75f-6fp4-p57w PYSEC-2026-3517
9.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach UI port on 0.0.0.0
  2. Delivery
    Send unauthenticated POST /api/mcp/connect
  3. Exploit
    Supply attacker command and args
  4. Execution
    StdioMCPClient spawns local process
  5. Impact
    Execute arbitrary commands as UI service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires that a PraisonAI UI host application is running - specifically 'praisonai ui', 'praisonai ui agents', 'praisonai claw', or any app built via praisonai.integration.host_app.create_host_app()/build_host_app() - and that the UI 'ui'/'claw' extra (aiui>=0.3.121) plus the default mcp dependency are installed. By default these commands bind to 0.0.0.0 and expose POST /api/mcp/connect with no authentication, so any client able to reach that port can exploit it against default configurations; the MCP handshake failing afterward does NOT prevent process spawn. Exploitation is LIMITED where opt-in authentication is configured, where the service is bound to loopback/firewalled off, or on versions >=4.6.59 which add the auth-token/origin middleware.

Impact

This is a genuine high-priority issue, and unusually for the 9.8 cohort the score is well-calibrated rather than inflated. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) is corroborated by the vulnerability mechanics: the PraisonAI UI host apps bind to 0.0.0.0 by default and expose POST /api/mcp/connect with no mandatory authentication, and the endpoint forwards caller-supplied command/args straight into StdioMCPClient which spawns the named local process as the UI service account. That is arbitrary command execution reachable by any network-adjacent unauthenticated client, so PR:N, AC:L, AV:N and full C/I/A impact are all defensible. SSVC reinforces prioritization (Exploitation: poc, Automatable: yes, Technical Impact: total) - a single scriptable POST yields total impact. The counter-signal is EPSS at only 0.64% (49th percentile), which reflects the product's small deployment footprint rather than low technical severity, and there is no CISA KEV listing, so treat this as a serious but not yet mass-exploited flaw. Note the description frames this as caller-CHOSEN command execution (missing authentication + direct process spawn) more than classic string-injection command injection; the practical impact is identical.

Exploit ScenarioDerived

An attacker who can reach the PraisonAI UI port (default bind 0.0.0.0, e.g. an internal network or an inadvertently internet-exposed host) sends a single unauthenticated POST /api/mcp/connect specifying an arbitrary command and args. StdioMCPClient launches that process as the UI service user before the MCP handshake even completes, giving the attacker code execution for secret exfiltration, file tampering, or service disruption. The GHSA advisory documents the exact reachable code paths and a tested tag (v4.6.48), effectively serving as public exploitation guidance (SSVC Exploitation: poc).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 16, 2026

Unauthenticated OS command execution in PraisonAI's UI host applications (all versions before 4.6.59, confirmed on 4.6.48) lets remote attackers run arbitrary local commands as the PraisonAI UI service account by sending a single POST to /api/mcp/connect with attacker-chosen command and args values, because those values are handed to the MCP stdio client which spawns a local process. The default 'praisonai ui', 'praisonai ui agents' and 'praisonai claw' commands bind to 0.0.0.0 with no authentication, so the issue is exploitable against default configurations (CVSS 3.1 9.8, AV:N/AC:L/PR:N/UI:N, CWE-78) without credentials or user interaction, and the process is spawned even if the subsequent MCP handshake fails. It is not confirmed actively exploited (no CISA KEV listing) and EPSS is modest at 0.64% (49th percentile), but publicly available exploit code exists per CISA SSVC (Exploitation: poc, Automatable: yes, Technical Impact: total), and the vendor has released 4.6.59 which adds authentication and origin middleware.

RemediationAI

Upgrade to PraisonAI 4.6.59 or later (for example 'pip install --upgrade "praisonai>=4.6.59"'), which is the vendor-released patch containing commit 2adfe7e8323f6deec66925cf15a885b6238895e9 and the v4.6.59 release tag; see the advisory at https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-p75f-6fp4-p57w, the commit at https://github.com/MervinPraison/PraisonAI/commit/2adfe7e8323f6deec66925cf15a885b6238895e9, and the release at https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59. If you cannot upgrade immediately, the effective compensating controls are network and configuration based: stop exposing the UI host - run 'praisonai ui', 'praisonai ui agents' and 'praisonai claw' with an explicit loopback bind (for example --host 127.0.0.1) or place the service behind a reverse proxy/firewall that blocks external access to POST /api/mcp/connect, accepting that remote UI access is lost; at the proxy, refuse or require authentication for /api/mcp/* and drop requests carrying untrusted 'command'/'args' payloads, understanding that this only protects traffic that traverses the proxy and not direct access to the 0.0.0.0 port; and avoid installing or running the 'ui'/'claw' extras (or remove the mcp dependency) on hosts where the UI is not needed, which reduces functionality but removes the vulnerable stdio-spawn path. On patched versions, additionally set MCP_SSE_AUTH_TOKEN (or MCP_AUTH_TOKEN) and MCP_SSE_ALLOWED_ORIGINS so the new middleware enforces Bearer-token authentication and origin validation - note that clients must then send an 'Authorization: Bearer <token>' header, so untokened integrations and non-browser clients will be rejected until updated. There is no evidence of active exploitation (no CISA KEV entry), but because SSVC scores the issue as automatable with total technical impact and public exploit code exists (EPSS 0.64%, 49th percentile), treat internet-reachable PraisonAI UI deployments as priority upgrade targets and check for spawned child processes or unexpected commands under the UI service account as a compromise indicator.

Affected VersionsENISA

PraisonAI < 4.6.59

Affected Packages

pypi praisonai fix: 4.6.59

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 ships a default dependency on the Model Context Protocol client (mcp>=1.20.0) and exposes the PraisonAIUI (aiui) management API through optional UI extras: the 'ui' extra pins aiui>=0.3.121,<0.4 and the 'claw' extra pins aiui[all]>=0.3.121,<0.4, with aiui==0.3.121 recorded in src/praisonai/uv.lock. The PraisonAI CLI commands set host="0.0.0.0" (src/praisonai/praisonai/cli/commands/ui.py around lines 114, 163, 186, 204, 222 and the claw command) and launch 'aiui run', and any application using praisonai.integration.host_app.create_host_app()/build_host_app() inherits the same surface. The vulnerable route POST /api/mcp/connect accepts caller-supplied command and args and forwards them to StdioMCPClient, which starts a local subprocess - the classic CWE-78 'Improper Neutralization of Special Elements used in an OS Command' failure combined with CWE-306 'Missing Authentication for Critical Function'. Because the endpoint spawns the child process before or independently of a successful MCP handshake, a failed handshake does not mitigate exploitation. The upstream fix commit 2adfe7e8323f6deec66925cf15a885b6238895e9 hardens this class of issue by wrapping the SSE/MCP Starlette app in a security middleware that enforces a Bearer token (MCP_SSE_AUTH_TOKEN or MCP_AUTH_TOKEN) and optional origin allow-listing (MCP_SSE_ALLOWED_ORIGINS) via build_sse_security_app/load_sse_security_from_env, and additionally makes the approval registry deny 'critical' risk-level tools and makes webhook verification fail closed by default.

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 (GitHub_M) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Default 0.0.0.0 bind + no auth makes a single POST sufficient (AV:N/AC:L/PR:N/UI:N); arbitrary command execution as the UI user yields full C/I/A within the same process authority (S:U).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 14, 2026 - 18:03 EUVD
CVE Published
Sep 14, 2026 - 15:04 cve.org
CRITICAL 9.8

DescriptionCVE.org

PraisonAI is a multi-agent teams system. Prior to 4.6.59, the default UI host applications expose POST /api/mcp/connect without mandatory authentication and accept caller-controlled command and args values that PraisonAIUI passes to StdioMCPClient to start a local process. Because the UI commands bind to 0.0.0.0 by default, a reachable unauthenticated client can execute commands as the UI service account even when the MCP handshake later fails. This vulnerability is fixed in 4.6.59.

Technical POC Analysis

Two chained defects: CWE-306 (Missing Authentication for a Critical Function) plus CWE-78 (OS Command Injection) in the PraisonAIUI host app shipped as aiui==0.3.121.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

PraisonAI's UI host applications (every version before 4.6.59) let anyone who can reach the service run arbitrary operating-system commands as the PraisonAI UI service account, with no credentials or user interaction required. The risk is concentrated in the default 'praisonai ui', 'praisonai ui agents', and 'praisonai claw' deployments, which bind to all network interfaces without authentication, so any internet- or network-exposed instance should be treated as a potential full host compromise. Leadership should care because a single unauthenticated request is sufficient, publicly available exploit code exists, and the affected systems may hold credentials, data, and internal network reach.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 51% exploitable
Prevalence
Low
niche open-source Python multi-agent framework, limited production footprint
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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