# CVE-2026-120492: Chainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T19:21:40.000Z
- Modified: 2026-11-28T02:05:44.636Z
- Also known as: GHSA-hvfh-5mj3-5f3j, PYSEC-2026-3811
- Related: CVE-2026-45019
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- Chainlit Chainlit: 2.12.0
- chainlit (PyPI): from 2.4.0rc0 before 2.12.0

## Every score

- VulnCheck: CVSS:4.0 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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j> (exploit, vendor-advisory, web)
- <https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L90-L177> (technical-description)
- <https://github.com/Chainlit/chainlit/blob/2.12.0/backend/chainlit/mcp.py#L199-L208> (technical-description)
- <https://www.vulncheck.com/advisories/chainlit-2.12.0-ssrf-via-semicolon-path-segment-in-mcp-allowed-urls> (third-party-advisory)
- <https://github.com/Chainlit/chainlit/commit/0565fd0eccb915fce159929598b053ed79f6e0c9> (web)
- <https://github.com/Chainlit/chainlit> (package)
- <https://github.com/Chainlit/chainlit/blob/2.12.0/docs/security-advisory-2026-mcp.md#spl-2026-002--ssrf-via-mcp-streamable-http--sse> (web)
- <https://github.com/Chainlit/chainlit/releases/tag/2.12.0> (web)
- <https://pypi.org/project/chainlit> (package)
- <https://github.com/advisories/GHSA-hvfh-5mj3-5f3j> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45019> (advisory)

## Sources

- CVE List: [CVE-2026-120492](https://www.cve.org/CVERecord?id=CVE-2026-120492), CVE Terms of Use, modified 2026-11-28
- GitHub Advisory Database: [GHSA-hvfh-5mj3-5f3j](https://github.com/advisories/GHSA-hvfh-5mj3-5f3j), CC-BY-4.0, modified 2026-11-03
- NVD: [CVE-2026-120492](https://nvd.nist.gov/vuln/detail/CVE-2026-120492), Public domain, modified 2026-11-07
- PyPA Advisory Database: [PYSEC-2026-3811](https://osv.dev/vulnerability/PYSEC-2026-3811), CC-BY-4.0, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-120492 · Whole record: https://cve.day/CVE-2026-120492.json · Rebuilt by cve.day 2026-11-28T02:27:21.752Z
