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

- Severity: Medium 4.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:16.971Z
- Modified: 2026-06-17T06:59:59.000Z
- Weaknesses: CWE-117
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- danny-avila danny-avila/librechat: from unspecified before 0.7.6
- librechat librechat: before 0.7.6

## Every score

- @huntr_ai: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://huntr.com/bounties/6e477667-dcd4-42c2-b342-a6ce09ffdeeb> (exploit, third-party-advisory)
- <https://github.com/danny-avila/librechat/commit/95d6bd2c2db4a09b308be2b96e3d5fd522c7b72a> (patch)

## Sources

- CVE List: [CVE-2024-12580](https://www.cve.org/CVERecord?id=CVE-2024-12580), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2024-12580](https://nvd.nist.gov/vuln/detail/CVE-2024-12580), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-12580 · Whole record: https://cve.day/CVE-2024-12580.json · Rebuilt by cve.day 2026-11-25T22:58:52.360Z
