Skip to main content
VulnerabilityPublished Updated

CVE-2026-22218: Chainlit allows authenticated arbitrary file reads through custom element updates

Affects chainlitSource GCVE Database

0
Compare
Authoritative record:CVE-2026-22218· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 2.9.4 soon.

Data as of 16 Nov 2026, 23:52 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.1
Patch
Available – fixed in 2.9.4
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

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 19 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CISA SSVC: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE ID reserved

    by VulnCheck

    , 13 days before disclosure

  2. CVE published

    on cve.org

    , t = 0

  3. CISA SSVC assessment

    proof of concept public

    , 44 hours after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CISA SSVC, the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade chainlit to 2.9.4.

Affected software

ProductAffectedFixed in
PyPIchainlitAffected
  • <2.9.4
Fixed in
  • 2.9.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Chainlit to version 2.9.4 or later, where this vulnerability is fixed. No other mitigation is required as the patch fully addresses the issue.

Description

Chainlit versions prior to 2.9.4 have an arbitrary file read vulnerability in the /project/element update flow. An authenticated user can exploit this flaw by sending a custom element with a user-controlled file path, causing the server to copy the file into the attacker's session. The attacker can then retrieve the file contents, potentially disclosing any file readable by the Chainlit service. This vulnerability is fixed in version 2.9.4.

References

Community reviews

Loading reviews…