CVE-2026-56104: Session hijacking in Chainlit WebSocket session restoration
- Vendor
- Chainlit
Chainlit versions before 2.10.1 contain a missing-authorization vulnerability in WebSocket session restoration. The restore_existing_session path accepts a valid sessionId without verifying that the requester owns the session, allowing an unauthenticated attacker to restore and inherit an authenticated victim's session. Successful exploitation grants the victim's permissions and roles, enabling unauthorized tool invocation and access to victim-restricted data.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can impersonate an authenticated user within the restored session, inherit that user's permissions and roles, access restricted data, and invoke tools available to the victim without authorization.
Mitigation
If you can’t patch tonight, do this now.
No separate workaround is specified; upgrading to a fixed version is the available mitigation.
Remediation
Patch, then assume compromise.
Upgrade the PyPI chainlit package and affected related packages to version 2.10.1 or later. Verify that WebSocket session restoration enforces session ownership checks.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-56104 exploited in the wild?
- As of Oct 6, 2026, Mallory has no reports of CVE-2026-56104 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-56104?
- As of Oct 6, 2026, Mallory has found no public exploit for CVE-2026-56104.
- Is there a patch for CVE-2026-56104?
- Upgrade the PyPI chainlit package and affected related packages to version 2.10.1 or later. Verify that WebSocket session restoration enforces session ownership checks.
- What products are affected by CVE-2026-56104?
- Chainlit.
- How severe is CVE-2026-56104?
- CVE-2026-56104 has a CVSS v4 score of 8.8 (High) and an EPSS score of 0.42% (37th percentile) as of Oct 6, 2026.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.