CVE Catalog

CVE-2026-120492

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Summary

Chainlit 2.12.0 contains a server-side request forgery vulnerability that lets unauthenticated attackers 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.

Risk Assessment

Bypassing URL restrictions may allow access to internal resources and paths outside the intended scope. The risk affects Chainlit deployments using MCP allowed_urls configuration.

Recommendation

Update Chainlit to a version containing the MCP URL validation fix. Until then, restrict access to the /mcp endpoint and review the allowed_urls configuration.

Other vulnerabilities in Chainlit

See all
Original NVD description (English 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS