What’s Vulnerable › Vulnerabilities

CVE-2024-12580: Logs Debug Injection in danny-avila/librechat

Description

A vulnerability in danny-avila/librechat prior to version 0.7.6 allows for logs debug injection. The parameters sessionId, fileId, userId, and file_id in the /code/download/:sessionId/:fileId and /download/:userId/:file_id APIs are not validated or filtered, leading to potential log injection attacks. This can cause distortion of monitoring and investigation information, evade detection from security systems, and create difficulties in maintenance and operation.

Affected products

How to fix

Upgrade to a fixed version: danny-avila LibreChat 0.7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-12580 or the next vulnerability affects your stack