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 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.
CVE-2026-56104
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-56104
chainlit
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/Chainlit/chainlit",
"vendor": "Chainlit",
"product": "chainlit",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.10.1",
"versionType": "semver"
}
],
"packageURL": "pkg:pypi/chainlit",
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-56104
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #12754 · Revision 1
- Added to Heist Feed
- Publisher date