ZeroHour

CVE-2026-57112

niche

DNS Rebinding in PraisonAI Legacy SSE MCP Server Enables Unauthenticated Tool Invocation

CVSS 3.1
8.3 high
EPSS
Published
()
Modified
AI analysis

PraisonAI's ToolsMCPServer.run_sse() in praisonaiagents mounts an SseServerTransport on the legacy /sse and /messages/ endpoints without enforcing Host or Origin validation or any authentication, leaving the flaw isolated to the legacy SSE wrapper (the newer Streamable HTTP transport rejects hostile origins). The vulnerability is triggered when a victim visits a malicious website that performs DNS rebinding against a reachable local or internal SSE server, supplying attacker-controlled Host and Origin headers. The attacker can then enumerate the registered MCP tools and invoke them with the privileges of the server user, impacting confidentiality, integrity, and availability (CVSS 3.1: 8.3, high). Affected software includes praisonaiagents 0.6.0 through before 1.6.59 and PraisonAI 3.10.0 through before 4.6.59, with fixes shipped in 1.6.59 and 4.6.59 respectively. No public proof of concept exists and no exploitation in the wild has been observed.

What to do: Upgrade praisonaiagents to 1.6.59 or later and PraisonAI to 4.6.59 or later, which contain the remediation. If immediate upgrade is not possible, switch from the legacy SSE transport to the Streamable HTTP transport (which rejects hostile Origins) and avoid binding the SSE server to interfaces reachable from browsers or untrusted networks. Review logs of any previously exposed SSE servers for unexpected Host/Origin headers or tool invocations you did not initiate.

Affected
praisonaiagents>= 0.6.0, < 1.6.59
PraisonAI>= 3.10.0, < 4.6.59
Estimated exposure
nicheunknown; plausibly hundreds to low thousands of developer-run instances — PraisonAI is an open-source Python framework installed on demand from PyPI, and only deployments that call ToolsMCPServer.run_sse() with a browser-reachable local or internal server are exposed, so there are no reliable public install or…

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. From praisonaiagents 0.6.0 until 1.6.59 and PraisonAI 3.10.0 until 4.6.59, ToolsMCPServer.run_sse() in src/praisonai-agents/praisonaiagents/mcp/mcp_server.py mounts SseServerTransport on the legacy /sse and /messages/ endpoints without default Host, Origin, or authentication enforcement. A malicious website can use DNS rebinding against a reachable local or internal SSE server, supply attacker-controlled Host and Origin headers, enumerate registered tools, and invoke them with the server user's privileges. The Streamable HTTP transport rejects the same hostile Origin, which isolates the flaw to the legacy SSE wrapper. An initial remediation was released in praisonaiagents 1.6.59 and PraisonAI 4.6.59.

Weakness
CWE-306, CWE-346, CWE-862
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

In the news

No ingested article mentions this CVE yet.