CVE-2025-7104

High

Description

A mass assignment vulnerability exists in danny-avila/librechat, affecting all versions. This vulnerability allows attackers to manipulate sensitive fields by automatically binding user-provided data to internal object properties or database fields without proper filtering. As a result, any extra fields in the request body are included in agentData and passed to the database layer, allowing overwriting of any field in the schema, such as author, access_level, isCollaborative, and projectIds. Additionally, the Object.Prototype can be polluted due to the use of Object.assign with spread operators.

SeverityHigh
CVSS7.5
Exploit probability—
ProductLibrechat
PublishedSep 29, 2025
First seenSep 29, 2025
Weakness typeCWE-915CWE-915

How to fix

Update
  • librechat librechat0.7.9 or later

Affected products

ProductAffected versionsFixed in
librechat librechatv < 0.7.90.7.9

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.