CVE-2025-7104

CVE-2025-7104 is a high-severity vulnerability in Librechat with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-915.

Key facts

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-7104?
CVE-2025-7104 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
Is CVE-2025-7104 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (19th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-7104?
CVE-2025-7104 affects Librechat. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-7104?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2025-7104 have an EU (EUVD) identifier?
Yes. CVE-2025-7104 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-31595.
When was CVE-2025-7104 published?
CVE-2025-7104 was published on 2025-09-29 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Librechat

All CVEs affecting Librechat →

Other CWE-915 vulnerabilities

Browse all CWE-915 vulnerabilities →