chainlitGHSA-c39v-8hrw-h448
Chainlit contains a session hijacking vulnerability
Critical7.4CVE-2026-56104 · Published Jun 22, 2026 · updated Sep 21, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| chainlit PyPI | < 2.10.1 | 2.10.1 |
Details and references
Chainlit before 2.10.1 contains a session hijacking vulnerability that allows unauthenticated attackers to restore and inherit authenticated user sessions by presenting a valid sessionId during WebSocket session restoration without ownership verification. Attackers can exploit the restore_existing_session path to assume a victim's permissions and roles, enabling unauthorized invocation of tools and access to data restricted to the authenticated victim.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-862
- Also known as
- CVE-2026-56104
- nvd.nist.gov/vuln/detail/CVE-2026-56104
- github.com/Chainlit/chainlit/pull/2857
- github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f
- github.com/Chainlit/chainlit
- github.com/Chainlit/chainlit/releases/tag/2.10.1
- www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration
More chainlit advisories
All| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 25 | Chainlit has command injection via MCP stdio transport that allows unauthenticated remote code execution CVE-2026-45018Critical9.8fixed in 2.12.0 | Critical9.8 | 2.12.0 |
| Aug 25 | Chainlist has SSRF via MCP SSE and streamable-http transports that allows unauthenticated internal network access CVE-2026-45019High7.2fixed in 2.12.0 | High7.2 | 2.12.0 |
| Jan 20 | Chainlit contain a server-side request forgery (SSRF) vulnerability CVE-2026-22219High7.7fixed in 2.9.4 | High7.7 | 2.9.4 |
| Jan 20 | Chainlit versions prior to 2.9.4 contain an arbitrary file read vulnerability in the /project/element update flow. An authenticated client can send a custom Element with a user-controlled path value, causing the server to copy the referenced file into the attacker’s session. The resulting element id CVE-2026-22218Medium6.5fixed in 2.9.4 | Medium6.5 | 2.9.4 |
| Jan 14 | Chainlit contains an authorization bypass vulnerability CVE-2025-68492Low4.2fixed in 2.8.5 | Low4.2 | 2.8.5 |