CVE-2026-56104: Chainlit < 2.10.1 Session Hijacking via WebSocket Session Restoration
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 restoreexistingsession path to assume a victim's permissions and roles, enabling unauthorized invocation of tools and access to data restricted to the authenticated victim.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Chainlitto a version that resolves this vulnerability.Fixed in 2.10.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-56104?
CVE-2026-56104 has been rated with a severity score of 7.4, indicating high risk.
How do I fix CVE-2026-56104?
To fix CVE-2026-56104, update Chainlit to version 2.10.1 or later.
What type of vulnerability is CVE-2026-56104?
CVE-2026-56104 is a session hijacking vulnerability via WebSocket session restoration.
Can CVE-2026-56104 be exploited remotely?
Yes, CVE-2026-56104 can be exploited by unauthenticated attackers remotely.
What impact does CVE-2026-56104 have on users?
CVE-2026-56104 allows attackers to inherit authenticated user sessions, potentially compromising user data.