CVE-2026-120492
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.
Severity
MEDIUM
CVSS v3
5.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N · source cna
CVSS v4
6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N · source cna
Exploit chance (EPSS)
0.221%
chance of exploitation in the next 30 days
higher than 12.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-918: Server-Side Request Forgery
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-07 |
Timeline
- 2026-08-25GitHub advisory published (GHSA-hvfh-5mj3-5f3j)69 days before publication
- 2026-11-02Published by the CNA14:29 UTC
- 2026-11-07CISA SSVC decision recorded5 days after publication
Exploit and advisory records
GitHub advisory GHSA-hvfh-5mj3-5f3j, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI chainlit | from 2.4.0rc0 before 2.12.0 | 2.12.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| chainlit chainlit | 2.12.0no fix listed | not listed |
References
- https://github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j
- https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L199-L208
- https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L90-L177
- https://www.vulncheck.com/advisories/chainlit-2.12.0-ssrf-via-semicolon-path-segment-in-mcp-allowed-urls
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-120492'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-120492'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-120492'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-120492'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).