CVE-2025-7104 Mass Assignment in danny-avila/librechat
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| danny-avila/librechat | < v0.7.9 | v0.7.9 | Fixed |
| LibreChat | < 0.7.9 | 0.7.9 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| danny-avila/librechat | < v0.7.9 | v0.7.9 |
| LibreChat | < 0.7.9 | 0.7.9 |
References
- huntr.com exploit patch third-party-advisory
- github.com patch