Medium severity6.5OSV Advisory· Published Jan 20, 2026· Updated Jul 14, 2026
CVE-2026-22218
CVE-2026-22218
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3Patches
Vulnerability mechanics
References
3- www.zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeovernvdExploitMitigationThird Party Advisory
- www.vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-elementnvdThird Party Advisory
- github.com/Chainlit/chainlit/releases/tag/2.9.4nvdProductRelease Notes
News mentions
0No linked articles in our index yet.