Skip to main content

Chainlit CVE-2026-22218

HIGH
Path Traversal (CWE-22)
2026-01-20 disclosure@vulncheck.com
7.1
CVSS 4.0 · Vendor: vulncheck
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Jul 14, 2026

Arbitrary file read in Chainlit versions prior to 2.9.4 lets an authenticated user disclose any file readable by the Chainlit service process by abusing the /project/element update flow with a user-controlled path. The server copies the referenced file into the attacker's session and returns a chainlitKey usable at /project/file/<chainlitKey> to exfiltrate contents. Publicly available exploit code exists (documented as part of the 'ChainLeak' research by Zafran), though EPSS is very low (0.03%) and it is not on CISA KEV.

Earlier versions of this analysis (2)
v2 Jul 14, 2026 - 17:07 cvss changed CVSS 7.1

Arbitrary file read in Chainlit versions prior to 2.9.4 lets an authenticated client disclose any file readable by the Chainlit service by abusing the /project/element update flow. By submitting a custom Element with a user-controlled path, the server copies the referenced file into the attacker's session and returns a chainlitKey that retrieves the contents via /project/file/<chainlitKey>. Publicly available exploit code exists (documented as part of the 'ChainLeak' research by Zafran), though EPSS remains low (0.03%) and it is not listed in CISA KEV.

v1 Mar 12, 2026 - 21:54 CVSS 6.5

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. [CVSS 6.5 MEDIUM]

Affected Packages

pypi chainlit fix: 2.9.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when Chainlit gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Authenticated (PR:L) low-complexity network request to a standard endpoint yields arbitrary file read, so C:H with no integrity or availability impact and unchanged scope.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

6
Analysis Updated
Jul 14, 2026 - 17:09 vuln.today
v3 - CVSS changed
Analysis Updated
Jul 14, 2026 - 17:07 vuln.today
v2 - CVSS changed
Severity Changed
Jul 14, 2026 - 16:22 NVD
MEDIUM HIGH
CVSS changed
Jul 14, 2026 - 16:22 NVD
6.5 (MEDIUM) 7.1 (HIGH)
PoC Detected
Feb 02, 2026 - 20:56 vuln.today
Public exploit code
CVE Published
Jan 20, 2026 - 00:15 nvd
MEDIUM 6.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Chainlit versions prior to 2.9.4 contain an arbitrary file read vulnerability affecting authenticated users, with publicly available exploit code now in circulation. The flaw allows exfiltration of any files readable by the Chainlit service process, potentially exposing configuration files, credentials, and sensitive application data. Organizations must upgrade immediately to prevent data breach and unauthorized access.

Recommended Action

Within 24 hours, conduct a complete inventory of Chainlit deployments and record version numbers. Within 7 days, upgrade all instances to Chainlit version 2.9.4 or later. Within 30 days, analyze file access logs from the exposure period to identify potential data exfiltration, restrict the Chainlit service process to minimum required file system permissions, and review any exposed credential material for compromise indicators.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Affected Products (CPE)CVE.org

cpe:2.3:a:chainlit:chainlit:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy