GitHub Advisoryadvisory · PyPI
GHSA-c39v-8hrw-h448 Chainlit contains a session hijacking vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2026-56104
- Ecosystem
- PyPI
- Packages
- chainlit
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-862
- Reviewed
- 2026-09-21
Affected packages
• PyPI chainlit: < 2.10.1 → fixed in 2.10.1
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.
Related
Alias · CVE (1)
- CVE-2026-56104 Chainlit before 2.10.1 contains a session hijacking vulnerability that allows unauthenticated attackers to restore and inherit… vulnerability
Weakness · CWE (1)
- CWE-862 Missing Authorization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-56104 advisory
- https://github.com/Chainlit/chainlit/pull/2857 web
- https://github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f web
- https://github.com/Chainlit/chainlit package
- https://github.com/Chainlit/chainlit/releases/tag/2.10.1 web
- https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration web