← Back to CVEs
CVE-2026-22218
MEDIUM6.5
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.
CVE Details
CVSS v3.1 Score6.5
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredLOW
User InteractionNONE
Published1/20/2026
Last Modified2/2/2026
Sourcenvd
Honeypot Sightings0
Affected Products
chainlit:chainlit
Weaknesses (CWE)
CWE-22
References
https://github.com/Chainlit/chainlit/releases/tag/2.9.4(disclosure@vulncheck.com)
https://www.vulncheck.com/advisories/chainlit-arbitrary-file-read-via-project-element(disclosure@vulncheck.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.