CVE-2024-12580

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductLibrechat
PublishedMar 20, 2025
First seenMar 20, 2025
Weakness typeCWE-117CWE-117

How to fix

Update
  • librechat librechat0.7.6 or later

Affected products

ProductAffected versionsFixed in
librechat librechatv < 0.7.60.7.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.