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.
Severity (CVSS)
| Base score | 9.1 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-862 — Missing Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Chainlit | chainlit | 0 to <2.10.1 |
References
- https://github.com/Chainlit/chainlit/releases/tag/2.10.1 (release-notes)
- https://github.com/Chainlit/chainlit/pull/2857 (issue-tracking)
- https://github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f (patch)
- https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration (third-party-advisory)
Generated from the official CVE List on 23 Jun 2026 10:05 UTC.