INCIDENT MAP

Browse / AI Framework and Platform Flaws / CVE-2026-56104

Chainlit contains a session hijacking vulnerability

CVE-2026-56104 ยท 2026-06-22 critical

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

Source: GitHub Advisory Database, used under CC BY 4.0.