Chainlit versions prior to 2.9.4 have an arbitrary file read vulnerability in the /project/element update flow. An authenticated user can exploit this flaw by sending a custom element with a user-controlled file path, causing the server to copy the file into the attacker's session. The attacker can then retrieve the file contents, potentially disclosing any file readable by the Chainlit service. This vulnerability is fixed in version 2.9.4.