CVE-2026-120492 Details
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.
A server-side request forgery (SSRF) vulnerability has been identified in Chainlit version 2.12.0. This vulnerability allows unauthenticated attackers to bypass path-scoped allowed URLs in the MCP (Multi-Channel Publishing) feature. The issue arises because the URL validation does not properly reject semicolon characters, enabling attackers to craft URLs that traverse outside the permitted paths. Exploitation involves sending MCP URLs with '..;' segments to the '/mcp' endpoint, which can then access unauthorized paths on origins that ignore semicolon parameters.
Upgrade to Chainlit version 2.12.0, which introduces a new allowlist-based model for MCP connections. After upgrading, configure 'features.mcp.user_servers.enabled = true' and specify the allowed URLs. If an immediate upgrade is not possible, disable the MCP feature or restrict outbound network access from the Chainlit host.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 2, 2026CISA-ADP
Assessed Nov 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j | CISA-ADP | AdvisoryBundleExploitRemedyVendor |
| https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L199-L208 | [email protected] | Source CodeVendor |
| https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L90-L177 | [email protected] | Source CodeVendor |
| https://github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j | [email protected] | AdvisoryBundleExploitRemedyVendor |
| https://www.vulncheck.com/advisories/chainlit-2.12.0-ssrf-via-semicolon-path-segment-in-mcp-allowed-urls | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Chainlit | >= 2.4.0rc0, <= 2.11.1 >= 2.6.4, <= 2.11.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 7, 2026 | CVE Modified | CISA-ADP |
| Nov 2, 2026 | New CVE Received | [email protected] |
Volerion