A vulnerability was found in libre-chat 0.0.6. It has been classified as critical. This affects the function upload_documents. The manipulation of the argument filename leads to path traversal.

This vulnerability is uniquely identified as CVE-2024-52787. It is possible to initiate the attack remotely. There is no exploit available.

It is recommended to apply a patch to fix this issue.