CVE-2026-120492 Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls

Medium 6.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-120492?

CVE-2026-120492 is a medium-severity vulnerability in Chainlit, published on 2 Nov 2026.

Official description

Chainlit 2.12.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to bypass path-scoped MCP allowed_urls entries because validate_mcp_url does not reject the semicolon character. Attackers can submit MCP URLs with '..;' segments to the /mcp endpoint, causing requests to paths outside the operator's grant on origins that strip semicolon path parameters.

Weakness: CWE-918

Which versions are affected by CVE-2026-120492?

How do I fix CVE-2026-120492?

Upgrade to a fixed version.

Is CVE-2026-120492 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-120492 exists.

Sources

Also known as GHSA-xhx7-9vjr-p2h8.

Is CVE-2026-120492 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free