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.
Published: 2026-11-02
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Server‑Side Request Forgery (SSRF) that may expose internal resources
Action: Patch
AI Analysis

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.

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

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 yet.

History

Mon, 02 Nov 2026 14:30:00 +0000

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'}


Subscriptions

Chainlit Chainlit
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-02T14:29:20.711Z

Reserved: 2026-11-02T14:15:21.510Z

Link: CVE-2026-120492

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-02T15:17:31.210

Modified: 2026-11-02T15:17:31.360

Link: CVE-2026-120492

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-02T16:15:07Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)