CVE-2026-22218

HIGH CVSS 4.0: 7.1 EPSS 9.72%
Updated Mar 05, 2026
Chainlit
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions before 2.9.4
Fixed In 2.9.4
Type CWE-22 (Path Traversal)
Vendor Chainlit
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Chainlit Chainlit
cpe:2.3:a:chainlit:chainlit:*:*:*:*:*:*:*:*
— 2.9.4