Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ChainlitChainlit | — | Not listed |
| PyPIchainlit |
≥ 2.4.0rc0, < 2.12.0→ 2.12.0 |
2.12.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- package pypi.org
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com