CVE-2026-45019: Unauthenticated SSRF in Chainlit MCP Transports
CVE-2026-45019 is an unauthenticated server-side request forgery vulnerability in Chainlit MCP SSE and streamable-HTTP connection handling. Chainlit versions 2.4.0rc0 through 2.11.x accept an attacker-controlled target URL and optional request headers for MCP connections when MCP is enabled. The connection handlers pass these values to outbound HTTP clients without scheme validation, private-address filtering, or destination allowlisting. SSE transport exposure began in 2.4.0rc0; attacker-controlled header forwarding and streamable-HTTP support were added in 2.6.4. Although response content is consumed internally rather than returned to the requester, the server can be induced to send blind requests to arbitrary destinations.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An unauthenticated remote attacker can use the Chainlit server as an SSRF proxy to reach loopback, private-network, and cloud metadata services accessible from the server. This can enable internal service discovery, port probing, metadata-service probing, and authenticated or state-changing requests by supplying headers such as authorization or cookies. In containerized or cloud environments, reachable services may include orchestration APIs, local daemon interfaces, databases, and cloud metadata services. Metadata access may expose temporary cloud credentials, potentially enabling access to cloud resources permitted by those credentials.
Mitigation
If you can’t patch tonight, do this now.
If an immediate upgrade is not possible, disable MCP by setting features.mcp.enabled to false. Restrict outbound network egress from Chainlit hosts, particularly to loopback, private address space, container and orchestration control planes, and cloud metadata services. Require authentication for MCP access as a compensating control; authentication removes the anonymous attack path but does not remediate SSRF exposure for authenticated users.
Remediation
Patch, then assume compromise.
Upgrade to Chainlit 2.12.0. The fixed release disables user-provided MCP HTTP/SSE connections by default; requires explicit enablement and a non-empty URL allowlist; validates HTTP/HTTPS schemes, origins, ports, and path prefixes; rejects ambiguous or encoded path forms; filters restricted headers; disables redirect following; and revalidates outbound destinations for each request. Migrate legacy MCP configuration before enabling MCP after upgrading, as deprecated configuration sections can prevent application startup.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-45019 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-45019 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-45019?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-45019.
- Is there a patch for CVE-2026-45019?
- Upgrade to Chainlit 2.12.0. The fixed release disables user-provided MCP HTTP/SSE connections by default; requires explicit enablement and a non-empty URL allowlist; validates HTTP/HTTPS schemes, origins, ports, and path prefixes; rejects ambiguous or encoded path forms; filters restricted headers; disables redirect following; and revalidates outbound destinations for each request.
- How severe is CVE-2026-45019?
- CVE-2026-45019 has a CVSS v3.1 score of 7.2 (High) and an EPSS score of 0.43% (39th percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.