Vulnerabilities · 2025 · Librechat
CVE-2025-7104
Librechat vulnerability
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.
Affected products
Librechat. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Librechat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
More vulnerabilities in Librechat products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.