HighVulnerability
GHSA-gm79-2pvc-wc75: chainlit : Chainlit allows authenticated arbitrary file reads through custom element updates
- Identifiers
- CVE-2026-22218GHSA-gm79-2pvc-wc75
- Published
- Record updated
- Affected
- chainlit < 2.9.4
- Fixed in
- 2.9.4
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 7.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
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, causing the server to copy the referenced file into the attacker's session, and the resulting chainlitKey can then be used via /project/file/<chainlitKey> to retrieve any file readable by the Chainlit service.
Mitigation
Fixed in 2.9.4 (Chainlit versions prior to 2.9.4 are affected).
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- chainlitPyPILLM dependency since 2025-03-09, 2 tracked dependents
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database