CVE-2026-22218

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductChainlit
PublishedJan 20, 2026
First seenJan 20, 2026

How to fix

Update
  • chainlit chainlit2.9.4 or later
  • chainlit2.9.4 or later

Affected products

ProductAffected versionsFixed in
chainlit chainlitv < 2.9.42.9.4
chainlitPyPIv < 2.9.42.9.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.