Home

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.

PUBLISHED Reserved 2026-01-06 | Published 2026-01-19 | Updated 2026-01-21 | Assigner VulnCheck




HIGH: 7.1CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Product status

Default status
unaffected

Any version before 2.9.4
affected

Credits

Ido Shani and Gal Zaban of Zafran Security finder

References

github.com/Chainlit/chainlit/releases/tag/2.9.4 release-notes patch

www.zafran.io/...abilities-expose-data-enable-cloud-takeover technical-description exploit

www.vulncheck.com/...arbitrary-file-read-via-project-element third-party-advisory

cve.org (CVE-2026-22218)

nvd.nist.gov (CVE-2026-22218)

Download JSON