Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Chainlit | chainlit | < 2.10.1 | 2.10.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | chainlit | < 2.10.1 | 2.10.1 | GHSA-c39v-8hrw-h448 |
References
- chainlit 2.10.1 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- https://www.vulncheck.com/advisories/chainlit-session-hijacking-via-websocket-session-restoration third-party-advisory