Librechat · Librechat · CVE-2024-52787
**Name of the Vulnerable Software and Affected Versions**
libre-chat version 0.0.6
**Description**
The issue allows attackers to execute a path traversal via supplying a crafted filename in an uploaded file, specifically in the `upload documents` method.
**Recommendations**
For libre-chat version 0.0.6, consider restricting the use of the `upload documents` method until a patch is available to prevent path traversal attacks. Avoid using crafted filenames in uploaded files to minimize the risk of exploitation.