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

Published Mar 20, 2025
·
Updated

A vulnerability in danny-avila/librechat prior to version 0.7.6 allows for logs debug injection. The parameters sessionId, fileId, userId, and fileid in the /code/download/:sessionId/:fileId and /download/:userId/:fileid 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 Software

2 affected components
danny-avila librechat<0.7.6
librechat librechat<0.7.6

Event History

Mar 20, 2025
CVE Published
via MITRE·10:09 AM
Data Sourced
via MITRE·10:09 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-12580?

CVE-2024-12580 is considered a medium-severity vulnerability due to its potential for log injection.

2

How do I fix CVE-2024-12580?

To fix CVE-2024-12580, upgrade to LibreChat version 0.7.6 or later where the vulnerability is addressed.

3

What vulnerable parameters are associated with CVE-2024-12580?

CVE-2024-12580 affects the parameters sessionId, fileId, userId, and file_id in the specified API endpoints.

4

What impact can CVE-2024-12580 have on my application?

CVE-2024-12580 may allow an attacker to inject harmful data into application logs, which could lead to further exploitation.

5

Is CVE-2024-12580 exploitable remotely?

Yes, CVE-2024-12580 can be exploited remotely through the affected API endpoints if proper validation is not enforced.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203