Skip to content
HighVulnerability

GHSA-gm79-2pvc-wc75: chainlit : Chainlit allows authenticated arbitrary file reads through custom element updates

Published
Record updated
View JSON
Affected
  • chainlit < 2.9.4
Fixed in
2.9.4
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
7.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

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, causing the server to copy the referenced file into the attacker's session, and the resulting chainlitKey can then be used via /project/file/<chainlitKey> to retrieve any file readable by the Chainlit service.

Mitigation

Fixed in 2.9.4 (Chainlit versions prior to 2.9.4 are affected).