Skip to content
Threat Brief

← All advisories

CVE-2026-22218

High 7.1No known exploitationFix available

Chainlit < 2.9.4 Arbitrary File Read via /project/element

Vendor advisory: GHSA-gm79-2pvc-wc75

Record last updated

CVSS score

7.1

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

9.7%

Higher than 96% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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

Weakness: CWE-22

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
ChainlitChainlitall versions before 2.9.42.9.4CVE Program
pipchainlitall versions before 2.9.42.9.4GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by VulnCheck

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references