Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach UI port on 0.0.0.0
-
DeliverySend unauthenticated POST /api/mcp/connect
-
ExploitSupply attacker command and args
-
ExecutionStdioMCPClient spawns local process
-
ImpactExecute 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
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-77598
GHSA-p75f-6fp4-p57w
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB