Skip to content
MediumVulnerability

CVE-2026-120492: Chainlit server-side request forgery through MCP URL validation in /mcp endpoint

Identifier
CVE-2026-120492
Published
Record updated
View JSON

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.