CVE-2026-120492
Chainlit 2.12.0 contains a server-side request forgery …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L199-L208
- github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L90-L177
- github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j
- www.vulncheck.com/advisories/chainlit-2.12.0-ssrf-via-semicolon-path-segment-in-mcp-allowe
- nvd.nist.gov/vuln/detail/CVE-2026-120492
- cve.org/CVERecord?id=CVE-2026-120492
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.