CVE-2026-22218

MEDIUM

chainlit < 2.9.4 - Authenticated Arbitrary File Read via Project Element Update

Title source: llm
STIX 2.1

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/<chainlitKey>, allowing disclosure of any file readable by the Chainlit service.

References (3)

Core 3
Core References
Product, Release Notes release-notes patch
https://github.com/Chainlit/chainlit/releases/tag/2.9.4

Scores

CVSS v3 6.5
EPSS 0.0884
EPSS Percentile 94.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
chainlit/chainlit < 2.9.4
Published Jan 20, 2026
Tracked Since Feb 18, 2026