ZeroHour

CVE-2026-57124

niche

Unauthenticated Remote Command Execution in PraisonAI UI (pre-4.6.59)

CVSS 3.1
9.8 critical
EPSS
Published
()
Modified
AI analysis

PraisonAI, an open-source multi-agent teams framework, ships default UI host applications that expose a POST /api/mcp/connect endpoint without mandatory authentication. The endpoint accepts caller-controlled command and args values that PraisonAIUI passes directly to StdioMCPClient to spawn a local process, and because the UI binds to 0.0.0.0 by default, any network-reachable client can trigger arbitrary command execution as the UI service account. Code execution succeeds even if the subsequent MCP handshake fails, so a failed connection is not a reliable indicator that exploitation was blocked. Anyone running a PraisonAI UI version prior to 4.6.59 that is reachable by untrusted clients (or on a shared network segment) is affected. No public proof of concept is known and the flaw is not on the CISA KEV list, so exploitation status is currently none known, though the flaw is trivially exploitable by anyone who can reach the port.

What to do: Upgrade to PraisonAI 4.6.59 or later immediately. If immediate upgrade is not possible, reconfigure the UI to bind to 127.0.0.1 instead of 0.0.0.0, firewall the UI port from untrusted networks, and run the UI under a minimally privileged service account. Review server logs for unexpected POST /api/mcp/connect requests containing unusual command or args values as evidence of probing or abuse.

Affected
PraisonAI (default UI host applications / PraisonAIUI)all versions prior to 4.6.59
Estimated exposure
nicheunknown — plausibly hundreds to low thousands of self-hosted UI instances — PraisonAI is a niche open-source developer framework typically self-hosted on workstations or internal servers with no published active-install or internet-scan counts, so the exposed population is almost certainly small, limited to users…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Weakness
CWE-78, CWE-306
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.