NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · Chainlit

CVE-2026-22218: chainlit : Chainlit allows authenticated arbitrary file reads through custom element updates

highCVSS 4.0 7.1 · 3.1 6.5GHSA-gm79-2pvc-wc75

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.

Published Jan 20, 2026 · Updated Nov 16, 2026

Affected packages

chainlit

Ecosystem
PyPI
Affected
< 2.9.4
Fixed in
2.9.4
Check
pip show chainlit

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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/, allowing disclosure of any file readable by the Chainlit service.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Chainlit vulnerabilities

All Chainlit entries