# CVE-2026-56104: Chainlit < 2.10.1 Session Hijacking via WebSocket Session Restoration

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-06-22T14:17:52.640Z
- Modified: 2026-11-08T14:05:30.669Z
- Also known as: GHSA-c39v-8hrw-h448, PYSEC-2026-4028
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Chainlit chainlit: before 2.10.1
- chainlit (PyPI): before 2.10.1

## Every score

- VulnCheck: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.4 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `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`
- PyPA Advisory Database: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/Chainlit/chainlit/releases/tag/2.10.1> (release-notes, web)
- <https://github.com/Chainlit/chainlit/pull/2857> (issue-tracking, patch, web)
- <https://github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f> (patch, web)
- <https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56104> (advisory)
- <https://github.com/Chainlit/chainlit> (package)
- <https://pypi.org/project/chainlit> (package)
- <https://github.com/advisories/GHSA-c39v-8hrw-h448> (advisory)

## Sources

- CVE List: [CVE-2026-56104](https://www.cve.org/CVERecord?id=CVE-2026-56104), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-c39v-8hrw-h448](https://github.com/advisories/GHSA-c39v-8hrw-h448), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-56104](https://nvd.nist.gov/vuln/detail/CVE-2026-56104), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-4028](https://osv.dev/vulnerability/PYSEC-2026-4028), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-56104 · Whole record: https://cve.day/CVE-2026-56104.json · Rebuilt by cve.day 2026-11-25T22:59:25.376Z
