# Chainlist has SSRF via MCP SSE and streamable-http transports that allows unauthenticated internal network access

Advisory record · `GHSA-hvfh-5mj3-5f3j`

- **Identifiers:** `GHSA-hvfh-5mj3-5f3j` · `CVE-2026-120492` · `CVE-2026-45019` · `PYSEC-2026-3811`
- **State:** Confirmed
- **Severity:** CVSS 6.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md)
- **Published:** 25 Aug 2026
- **Updated:** 3 Nov 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 25 Aug 2026, 19:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `chainlit` (PyPI): affected `>=2.4.0rc0, <2.12.0`; fixed in `2.12.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Chainlit versions from 2.4.0rc0 before 2.12.0 are vulnerable to server-side request forgery through the MCP SSE and streamable-http transports when MCP is enabled. An unauthenticated attacker who can open a session can make the server send requests to arbitrary URLs, including internal services, with attacker-chosen headers such as Authorization, though responses are not returned to the attacker. Upgrade to Chainlit 2.12.0, which fixes this issue. If you cannot upgrade, set features.mcp.enabled to false in .chainlit/config.toml, or restrict outbound network access from the host.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.3 Medium, CVSS 4.0: `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`, from CNA (VulnCheck)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0043, the 38th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:10 UTC: First seen by agentprime
- 31 Oct 2026, 14:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-hvfh-5mj3-5f3j)
- 2 Nov 2026, 14:37 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-120492)
- 2 Nov 2026, 15:22 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-120492)

## Sources

- [GitHub Advisory Database: GHSA-hvfh-5mj3-5f3j](https://github.com/advisories/GHSA-hvfh-5mj3-5f3j)
- [OSV: GHSA-hvfh-5mj3-5f3j](https://osv.dev/vulnerability/GHSA-hvfh-5mj3-5f3j)
- <https://github.com/Chainlit/chainlit/security/advisories/GHSA-hvfh-5mj3-5f3j>
- <https://github.com/Chainlit/chainlit/commit/0565fd0eccb915fce159929598b053ed79f6e0c9>
- <https://github.com/Chainlit/chainlit>
- <https://github.com/Chainlit/chainlit/blob/2.12.0/docs/security-advisory-2026-mcp.md#spl-2026-002--ssrf-via-mcp-streamable-http--sse>
- <https://github.com/Chainlit/chainlit/releases/tag/2.12.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-hvfh-5mj3-5f3j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-hvfh-5mj3-5f3j/>. Everything for agents: <https://agentprime.io/llms.txt>.
