CVE-2026-22218Chainlit
High 7.1
Follow: this CVE · Chainlit · Chainlit We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.1
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 20, 2026
- Updated
- Jul 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- 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
What happens
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.
What to do
- Apply the vendor's security update for Chainlit.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | chainlit |
< 2.9.4 |
2.9.4 |
pip install "chainlit>=2.9.4" |
| PyPI | chainlit |
< 2.9.4 |
2.9.4 |
pip install "chainlit>=2.9.4" |
Per OSV / GitHub Advisories (GHSA-gm79-2pvc-wc75, PYSEC-2026-598). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| chainlit | chainlit | < 2.9.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product Release Notes
- www.vulncheck.com Third Party Advisory
- www.zafran.io Exploit Mitigation Third Party Advisory