# CVE-2025-7104: Mass Assignment in danny-avila/librechat

- Severity: Medium 4.3 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-29T17:10:59.630Z
- Modified: 2026-10-09T09:10:00.213Z
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- danny-avila danny-avila/librechat: from unspecified before v0.7.9
- librechat librechat: before 0.7.9

## Every score

- @huntr_ai: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://huntr.com/bounties/32a175c4-7543-4503-a3d0-7880abd1826b> (exploit, patch, third-party-advisory)
- <https://github.com/danny-avila/librechat/commit/a37bf6719cfbc2de270f7d87b6b85d87cc1768db> (patch)

## Sources

- CVE List: [CVE-2025-7104](https://www.cve.org/CVERecord?id=CVE-2025-7104), CVE Terms of Use, modified 2025-10-15
- NVD: [CVE-2025-7104](https://nvd.nist.gov/vuln/detail/CVE-2025-7104), Public domain, modified 2026-10-09

---

Page: https://cve.day/CVE-2025-7104 · Whole record: https://cve.day/CVE-2025-7104.json · Rebuilt by cve.day 2026-11-25T22:59:05.308Z
