HIGHCVE-2026-22218Published Modified CNA VulnCheck
CVE-2026-22218: Chainlit < 2.9.4 Arbitrary File Read via /project/element
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.
Metrics
- CVSS v4.0
- 7.1
- Severity
- HIGH
- Fixed in
- 2.9.4
- Affected Products
- 1
Affected packages
- Chainlit / Chainlit< 2.9.4 (from 0)
CVSS 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:NReferences