CVE-2026-120492

Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls

Published Nov 2, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Chainlit 2.12.0 contains a vulnerable URL validation routine that fails to reject semicolon characters in the path. Because the validation logic does not treat the ‘;’ character as a delimiter, an attacker can craft URLs that include ‘..;’ segments. Submitting such URLs to the /mcp endpoint bypasses the path‑scoped MCP enabled_urls entries and causes the application to issue HTTP requests to locations outside the operator's granted origins. The effect is a server‑side request forgery that can be used to access internal services, read sensitive data, or potentially pivot to further attacks inside the network.

Affected Systems

The affected product is Chainlit 2.12.0. This is the only version listed in the advisory.

Risk and Exploitability

The CVSS score of 6.3 places this issue in the moderate severity bucket. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, indicating no known exploitation at the time of this analysis. The attack can be executed by any unauthenticated user who can send requests to the /mcp endpoint, making the attack vector Internet‑based. Because the flaw allows arbitrary path traversal, the risk to confidentiality and availability of internal resources is significant, but it does not directly elevate to remote code execution. The vulnerability is exploitable under normal operating conditions and does not require elevated privileges on the host running Chainlit.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Chainlit update that fixes the URL validation bug (at least version 2.12.1 or newer).
  • If an update is not immediately possible, remove or heavily restrict the SCP URLs configured for /mcp and consider disabling the /mcp endpoint until the patch is deployed.
  • Implement network segmentation or firewall rules to block the Chainlit service from reaching internal resources that should not be exposed.

Generated by OpenCVE AI on November 2, 2026 at 16:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls
First Time appeared Chainlit
Chainlit chainlit
Weaknesses CWE-918
CPEs cpe:2.3:a:chainlit:chainlit:2.12.0:*:*:*:*:*:*:*
Vendors & Products Chainlit
Chainlit chainlit
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 7, 2026, 12:22 AM
Reserved
Nov 2, 2026, 2:15 PM
Status
Deferred
Published
Nov 2, 2026, 3:17 PM
Modified
Nov 7, 2026, 1:17 AM