{"id":"CVE-2026-56104","aliases":["CVE-2026-56104","GHSA-c39v-8hrw-h448","PYSEC-2026-4028"],"related":[],"kind":"vulnerability","state":"published","title":"Chainlit < 2.10.1 Session Hijacking via WebSocket Session Restoration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-06-22T14:17:52.640Z","modified":"2026-11-08T14:05:30.669Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.8,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"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","rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"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"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.10.1","status":"affected"}],"vendor":"Chainlit","product":"chainlit","repo":"https://github.com/Chainlit/chainlit","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.1"}],"ecosystem":"PyPI","package":"chainlit","purl":"pkg:pypi/chainlit","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.1"}],"ecosystem":"PyPI","package":"chainlit","purl":"pkg:pypi/chainlit","source":"pysec"}],"references":[{"url":"https://github.com/Chainlit/chainlit/releases/tag/2.10.1","tags":["release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Chainlit/chainlit/pull/2857","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56104","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/Chainlit/chainlit","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/chainlit","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-c39v-8hrw-h448","tags":["advisory"],"sources":["pysec"]}],"credits":["Tanguy Snoeck"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-22T16:06:42.802Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56104","url":"https://www.cve.org/CVERecord?id=CVE-2026-56104","licence":"CVE Terms of Use","modified":"2026-11-08T14:05:30.669Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c39v-8hrw-h448","url":"https://github.com/advisories/GHSA-c39v-8hrw-h448","licence":"CC-BY-4.0","modified":"2026-10-01T17:56:10.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56104","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56104","licence":"Public domain","modified":"2026-10-08T16:17:21.397Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4028","url":"https://osv.dev/vulnerability/PYSEC-2026-4028","licence":"CC-BY-4.0","modified":"2026-10-01T17:45:05.547Z"}],"updatedAt":"2026-11-25T22:59:25.376Z","epss":{"score":0.00257,"percentile":0.18492,"date":"2026-12-01T12:00:22.000Z"}}