CVE-2026-22218CWE-22

Chainlit < 2.9.4 Arbitrary File Read via /project/element

High · published January 19, 2026

CVSS v4.0
7.1
EPSS
10%
Percentile
95.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.1 · HIGH
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
EPSS
0.09724 · 95.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-01-19T23:14Z
EPSS history
Timeline
  • 19 JAN 23:14Z
    Chainlit < 2.9.4 Arbitrary File Read via /project/element
    cvelistv5