mcp-cve-project

CVE-2026-120492 | Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls | Medium |

CVE Information

Field Value
CVE / NVD CVE-2026-120492
Date (index) 2026-11-02
Affected product (index) Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls
GHSA ID GHSA-hvfh-5mj3-5f3j
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-11-02
Ecosystem PyPI
Component chainlit
EPSS score 0.002210000 (FIRST EPSS, 2026-11-09)
CVSS score 6.3 MEDIUM 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
CWE CWE-918
Affected versions 2.12.0
Fixed versions None named in the published CVE record
Fix status No fixed version in the published CVE record
Exploit status Public advisory. This note does not include exploit steps.
Notes Updated on 2026-11-09 from the published CVE record and FIRST EPSS.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.

CVE is because of what bug?

The published weakness mapping is CWE-918. Use the linked advisory for the upstream root cause.

MCP-specific impact / why it matters

MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.

Where was the bug? (source + snippet)

File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.

Fix / Remediation

Apply the vendor’s patched release or commit. Until then, keep the affected MCP listener off untrusted networks and require authentication on HTTP transports.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification