Advisory

GHSA-c39v-8hrw-h448

Also known as: CVE-2026-56104, PYSEC-2026-4028

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-06-22 18:34 UTC
Modified
2026-10-01 17:56 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences