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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.003 (20.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 20th percentile — 20.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Danny-Avila Danny-Avila/librechat — versions unspecified
- Librechat
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/32a175c4-7543-4503-a3d0-7880abd1826b (Exploit, Patch, Third Party Advisory)
- github.com/danny-avila/librechat/commit/a37bf6719cfbc2de270f7d87b6b85d87cc1768db (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.