CVE-2026-22218
Severity CVSS v4.0:
HIGH
Type:
CWE-22
Path Traversal
Publication date:
20/01/2026
Last modified:
20/01/2026
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.
Impact
Base Score 4.0
7.10
Severity 4.0
HIGH



