High
github
·
GHSA-hvfh-5mj3-5f3j
Chainlist has SSRF via MCP SSE and streamable-http transports that allows unauthenticated internal network access
Published Aug 25, 2026
CVSS 7.2
Am I affected?
Only if your deployment sets features.mcp.enabled = true in .chainlit/config.toml. MCP has been disabled by default since v2.7.0, so most Chainlit deployments are not affected. No authentication is required: /mcp is reachable by any client that can open a session.
Summary
When MCP is enabled (features.mcp.enabled = true), the POST /mcp endpoint for sse and streamable-http transports accepts a user-controlled url and optional headers dictionary without any validation. An unauthenticated attacker can force the Chainlit server to make outbound HTTP requests to arbitrary URLs — including internal network services and cloud metadata endpoints — with attacker-controlled HTTP headers such as Authorization and Cookie.
Affected / patched versions
| CVE | CVE-2026-45019 |
| Affected — URL-based SSRF | `>=2.4.0rc0, =2.6.4, |
Affected AI Products
mcp server