MediumVulnerability
CVE-2026-120492: Chainlit server-side request forgery through MCP URL validation in /mcp endpoint
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-120492
- Published
- Record updated
Summary
Chainlit 2.12.0 contains a server-side request forgery vulnerability that lets unauthenticated attackers bypass path-scoped MCP allowed_urls entries. The validate_mcp_url function does not reject the semicolon character, so attackers can submit MCP URLs with '..;' segments to the /mcp endpoint. This sends requests to paths outside the operator's grant on origins that strip semicolon path parameters.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Topics
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online