CVE-2026-22218: Chainlit allows authenticated arbitrary file reads through custom element updates
Affects chainlitSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 2.9.4 soon.
Data as of 16 Nov 2026, 23:52 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|
- Patch
- Available – fixed in 2.9.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
t = 0 is the CVE’s publication on cve.org
Disclosed: evidence found.
CVE published 19 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CISA SSVC: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
Timeline
CVE ID reserved
by VulnCheck
, 13 days before disclosure
CVE published
on cve.org
, t = 0
CISA SSVC assessment
proof of concept public
, 44 hours after disclosure
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade chainlit to 2.9.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIchainlit | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Chainlit to version 2.9.4 or later, where this vulnerability is fixed. No other mitigation is required as the patch fully addresses the issue.
Description
Chainlit versions prior to 2.9.4 have an arbitrary file read vulnerability in the /project/element update flow. An authenticated user can exploit this flaw by sending a custom element with a user-controlled file path, causing the server to copy the file into the attacker's session. The attacker can then retrieve the file contents, potentially disclosing any file readable by the Chainlit service. This vulnerability is fixed in version 2.9.4.
References
- nvd.nist.gov/vuln/detail/CVE-2026-22218 (opens in a new tab)
- github.com/Chainlit/chainlit/pull/2737 (opens in a new tab)
- github.com/Chainlit/chainlit/commit/ffc3cce648b343b933e10e85ee5805c7e02ab3bf (opens in a new tab)
- github.com/Chainlit/chainlit (opens in a new tab)
- github.com/Chainlit/chainlit/releases/tag/2.9.4 (opens in a new tab)
- github.com/advisories/GHSA-gm79-2pvc-wc75 (opens in a new tab)
- vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-element (opens in a new tab)
- zafran.io/resources/chainleak-critical-ai-framework-vulnerabilities-expose-data-enable-cloud-takeover (opens in a new tab)