Browse / AI Framework and Platform Flaws / CVE-2026-56104
Chainlit contains a session hijacking vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Authentication and access control
- Also involves
- Tool and Agent Misuse
- Affected
- chainlit (PyPI)
- Gets past
- Authentication check
- CVSS
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
Session restoration only checks that a session ID exists and not who owns it, so an unauthenticated caller can adopt a victim's session and tool permissions. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-56104
- https://github.com/Chainlit/chainlit/pull/2857
- https://github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f
- https://github.com/Chainlit/chainlit
- https://github.com/Chainlit/chainlit/releases/tag/2.10.1
- https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration
Source: GitHub Advisory Database, used under CC BY 4.0.