AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

chainlitGHSA-gm79-2pvc-wc75

chainlit : Chainlit allows authenticated arbitrary file reads through custom element updates

chainlit

CVE-2026-22218 · Published Jan 20, 2026 · updated Nov 16, 2026

High6.5
Fix: upgrade to 2.9.4 or later
GitHub advisory

Chainlit versions prior to 2.9.4 contain an arbitrary file read vulnerability in the /project/element update flow. An authenticated client can send a custom Element with a user-controlled path value, causing the server to copy the referenced file into the attacker’s session. The resulting element identifier (chainlitKey) can then be used to retrieve the file contents via /project/file/<chainlitKey>, allowing disclosure of any file readable by the Chainlit service.

Affected versions

PackageAffectedFixed in
chainlit
PyPI
< 2.9.42.9.4
Details and references

More chainlit advisories

All chainlit