CVE-2026-22218
High 7.1No known exploitationFix availableChainlit < 2.9.4 Arbitrary File Read via /project/element
Vendor advisory: GHSA-gm79-2pvc-wc75
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 96% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-22
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Chainlit | Chainlit | all versions before 2.9.4 | 2.9.4 | CVE Program |
| pip | chainlit | all versions before 2.9.4 | 2.9.4 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by VulnCheck
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- Chainlit 2.9.4 Release Notes (opens in a new tab)release-notes, patch
- GitHub Advisory GHSA-gm79-2pvc-wc75 (opens in a new tab)github-advisory
- https://www.vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-element (opens in a new tab)third-party-advisory