Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. chainlit
  4. ›
  5. CVE-2026-56104

CVE-2026-56104: Chainlit contains a session hijacking vulnerability

June 22, 2026 (updated September 21, 2026)

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.

References

  • github.com/Chainlit/chainlit/commit/5effb664f1e0af4a4f0a42fe63ea979676039a7f
  • github.com/Chainlit/chainlit/pull/2857
  • github.com/Chainlit/chainlit/releases/tag/2.10.1
  • github.com/advisories/GHSA-c39v-8hrw-h448
  • nvd.nist.gov/vuln/detail/CVE-2026-56104
  • www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration

Code Behaviors & Features

Detect and mitigate CVE-2026-56104 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.10.1

Fixed versions

  • 2.10.1

Solution

Upgrade to version 2.10.1 or above.

Impact 7.4 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

pypi/chainlit/CVE-2026-56104.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:14 +0000.