CVE-2026-22218
Chainlit < 2.9.4 Arbitrary File Read via /project/element
A public proof of concept exists; no exploitation attested.
- Published2026-01-20
- Fixed in2.9.4
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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/<chainlitKey>, allowing disclosure of any file readable by the Chainlit service.
Timeline
dates in UTC- 2026-01-1923:14CVE publishedCNA
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.9 | < 2.9.4 | 2.9.4 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Chainlitother versions: not affected
https://github.com/Chainlit/chainlit
Affected- < 2.9.4fixed in 2.9.4semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-07-14
Fix
- Update Chainlit to 2.9.4
Advisories and patches
- github.comRelease Notes
- www.zafran.ioMitigation
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-01-21
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-01-21
- CNACVSS 4.07.12026-11-08
- NVDCVSS 3.16.5read 2026-10-23
- CNAweakness (CWE)CWE-222026-11-08
- FIRST EPSSEPSS score9.7 %2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-3345same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-gm79-2pvc-wc75same flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2026-598same flawPyPA Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-01-20
- Last Modified
- 2026-07-14
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-gm79-2pvc-wc75
Frequently asked questions
What is CVE-2026-22218?
Is CVE-2026-22218 actively exploited?
What is the CVSS score for CVE-2026-22218?
Running chainlit? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-22219same productChainlit < 2.9.4 SQLAlchemy Data Layer SSRF via /project/element
- CVE-2026-45018same product
- CVE-2026-45019same product
- CVE-2026-56104same product
- CVE-2025-68492same product
- CVE-2026-120492same productChainlit 2.12.0 SSRF via Semicolon Path Segment in MCP allowed_urls
- CVE-2026-24061KEVsame week
- CVE-2026-23760KEVsame weekSmarterTools SmarterMail < Build 9511 Authentication Bypass via Password Reset API
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-gm79-2pvc-wc75
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0