Vulnerability in Danny-Avila Danny-Avila/librechat
CVE-2025-7104
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.
Vulnerability class: Mass Assignment
EPSS: 0.003 (19.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
Affected products
- Danny-avila Danny-avila/librechat — versions unspecified
- Librechat
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@huntr.dev (Exploit, Patch, Third Party Advisory)
- security@huntr.dev (Patch)
Frequently asked questions
- What is CVE-2025-7104?
- CVE-2025-7104 is a high-severity vulnerability in Danny-Avila Danny-Avila/librechat, classified under Improperly Controlled Modification of Dynamically-Determined Object Attributes. CVSS score: 7.5/10. Published 2025-09-29.
- How severe is CVE-2025-7104?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2025-7104 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.