What’s Vulnerable › Vulnerabilities
CVE-2024-12580: Logs Debug Injection in danny-avila/librechat
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-20 · updated 2026-06-17
- Weakness: CWE-117
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
- danny-avila LibreChat: before 0.7.6 — fixed in 0.7.6
How to fix
Upgrade to a fixed version: danny-avila LibreChat 0.7.6. Check the vendor advisory for mitigations.
References
- https://github.com/danny-avila/librechat/commit/95d6bd2c2db4a09b308be2b96e3d5fd522c7b72a
- https://huntr.com/bounties/6e477667-dcd4-42c2-b342-a6ce09ffdeeb
Get alerted when CVE-2024-12580 or the next vulnerability affects your stack