Skip to main content
← All vulnerabilities
CVE-2026-22218PYSEC-2026-598

Chainlit < 2.9.4 Arbitrary File Read via /project/element

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.9.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Chainlit Chainlit

    fixed in 2.9.4

  • chainlitPyPI

    fixed in 2.9.4

References 3

GitHub · Chainlit/chainlit

zafran.io

vulncheck.com