Summary
CVE-2026-57123 is a critical missing-authentication vulnerability in PraisonAI’s praisonaiagents package, affecting the Model Context Protocol (MCP) Server-Sent Events (SSE) transport. The SSE server binds to 0.0.0.0 and exposes /sse and /messages/ routes without enforcing any of the authentication, Origin-validation, or DNS-rebinding protections otherwise available in the framework’s SecurityConfig. Any network-reachable client — or a malicious website via DNS rebinding against a locally-bound instance — can list and invoke all registered MCP tools, resulting in a CVSS v3.1 score of 9.8 (Critical).
Technical details
- Root cause: The
ToolsMCPServer.run_sseandlaunch_tools_mcp_serverfunctions create the/sseand/messages/HTTP routes but never invoke the framework’s existingSecurityConfigchecks for authentication, Origin header validation, or DNS-rebinding protection. - Trigger conditions: An application must expose an MCP tool server over SSE transport (the default binds to
0.0.0.0, making it reachable from any network path that can route to the host, not just localhost). - Attack vector: Network (AV:N), no privileges or user interaction required. A remote attacker can connect directly to the exposed SSE endpoint, or lure a victim’s browser to a malicious page that performs DNS rebinding to reach an instance otherwise assumed to be bound to localhost.
- Impact: Full enumeration and invocation of all tools registered on the MCP server, which can lead to arbitrary code execution, data exfiltration, or further compromise depending on what tools/capabilities are registered — resulting in high impact to confidentiality, integrity, and availability.
Affected software
- Product:
praisonaiagents(PraisonAI) - Vendor: MervinPraison
- Vulnerable versions: prior to 1.6.59
- Fixed version: 1.6.59 (corresponding release tagged v4.6.59)
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade
praisonaiagentsto version 1.6.59 or later, which appliesSecurityConfigenforcement (authentication, Origin validation, and DNS-rebinding protection) to the MCP SSE transport routes. - If immediate patching is not possible:
- Do not expose MCP SSE endpoints (
/sse,/messages/) on0.0.0.0or to untrusted networks; restrict listening interfaces to localhost only where feasible. - Place the MCP server behind a reverse proxy or firewall that enforces authentication and validates the
Originheader before allowing connections. - Block inbound access to the SSE/MCP ports from the public internet and untrusted internal segments until patched.
- Audit which tools are registered on any exposed MCP server instances, since any of them could be invoked by an unauthenticated attacker.
- Do not expose MCP SSE endpoints (

