Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls
- State
- Published
- Severity
- 6.3 Medium
- Published
- Nov 2, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| Chainlit Chainlit | 2.12.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.3 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
References
- GitHub Security Advisory (GHSA-hvfh-5mj3-5f3j)Vendor Advisory
- https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L90-L177Technical Details
- https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L199-L208Technical Details
- VulnCheck Advisory: Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urlsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.