Chainlit contains a session hijacking vulnerability
GHSA-c39v-8hrw-h448 · CVE-2026-56104
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-56104
- WEB https://github.com/Chainlit/chainlit/pull/2857
- WEB https://github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f
- PACKAGE https://github.com/Chainlit/chainlit
- WEB https://github.com/Chainlit/chainlit/releases/tag/2.10.1
- WEB https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration
Ready to move
Start Securing
Free, no credit card | First findings in minutes