highCVSS 7.6Vulnerability

CVE-2026-55532

### Summary The PraisonAI MCP server exposes an HTTP-stream transport (praisonai mcp serve --transport http-stream) that binds to localhost and, by default, has no API key. Its only access control for browser-originated requests is an Origin allowlist, which the code implements as required by the MCP 2025-11-25 security guidance. The allowlist check uses a prefix match (request_origin.startswith(allowed)), so any Origin whose string begins with http://localhost or http://127.0.0.1 is accepted, for example http://localhost.attacker.com. An attacker who registers such a hostname and serves a page from it can, when a victim visits the page, issue cross-site requests that the MCP server accepts and executes without authentication. Because the request can be sent as a CORS "simple request" (Content-Type: text/plain, which the server still parses as JSON), it requires no preflight, and because tools/call does not require a session, a single forged request executes an MCP tool. This is a blind cross-site request forgery against a developer's local agent runtime. A natural end-to-end impact is persistent prompt injection: the forged request creates a rule file that the agent runtime loads with activation "always", so attacker-controlled instructions are injected into every subsequent agent run on the victim's machine. ### Details The HTTP-stream transport validates the Origin header in transports/http_stream.py. The allowlist is built for a localhost bind, then matched with startswith: ```python # __init__: default allowlist when binding to localhost self.allowed_origins = ["http://localhost", "http://127.0.0.1", "https://localhost", "https://127.0.0.1"] def _validate_origin(self, request_origin): if request_origin is None: return True # no Origin -> allowed if self.allowed_origins is None: return False for allowed in self.allowed_origins: if request_origin == allowed or request_origin.sta

Properties

ghsa_id
GHSA-pvph-5j39-v8qc
summary
PraisonAI: Origin-validation bypass (startswith prefix match) enables unauthenticated cross-site request forgery against the PraisonAI MCP HTTP server
severity
high
cvss_score
7.6
cve_id
CVE-2026-55532
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
is_ghsa_only
false
ghsa_published
2026-08-25T15:18:20Z
source_url
https://github.com/advisories/GHSA-pvph-5j39-v8qc
ghsa_updated
2026-08-25T15:18:21Z

Related Entities (5)

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]pip/PraisonAI

AFFECTS (1)

[Software]pip/PraisonAI

HAS_WEAKNESS (2)

[Weakness]Origin Validation Error
[Weakness]Cross-Site Request Forgery (CSRF)

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-55532 (CVSS 7.6) — Ninja Signal Threat Intelligence | Ninja Signal