Chainlit contains a session hijacking vulnerability
Critical severity
GitHub Reviewed
Published
Jun 22, 2026
to the GitHub Advisory Database
•
Updated Sep 21, 2026
Description
Published by the National Vulnerability Database
Jun 22, 2026
Published to the GitHub Advisory Database
Jun 22, 2026
Reviewed
Sep 21, 2026
Last updated
Sep 21, 2026
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