Critical

Chainlit contains a session hijacking vulnerability

  • Disclosed: 22.06.2026
  • Updated: 11.10.2026 15:18

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) chainlit < 2.10.1 2.10.1

References

CVSS score 7.4/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness (CWE)
CWE-862
Platform
Python (PyPI)
Package
chainlit
Disclosed
22.06.2026
Updated
11.10.2026 15:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-4028 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-c39v-8hrw-h448 - CC BY 4.0

Vulnerability history: chainlit

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
01.2026 08.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2
  • Medium 1
  • Low 1

Disclosures per year

  1. 2026: 6
  1. Chainlit contains a session hijacking vulnerability this entry
    Critical · 7.4 CVE-2026-56104 < 2.10.1 2.10.1
  2. Low · 4.2 CVE-2025-68492 < 2.8.5 2.8.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.