Advisory

PYSEC-2026-4028

Also known as: CVE-2026-56104, GHSA-c39v-8hrw-h448

Summary

Chainlit contains a session hijacking vulnerability

Details

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.

Severity

High Basis: CVSS v3 score 7.4, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-10-01 16:38 UTC
Modified
2026-10-01 17:45 UTC

Affected packages and fixes

chainlit

PyPI · All systems

Affected

  • introduced 0, fixed 2.10.1 (ecosystem)

Fixed versions

2.10.1

Fix

  • Fixed version 2.10.1
    pip install --upgrade chainlit==2.10.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences