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

Medium 4.3 Published Updated

Attackers can manipulate sensitive fields and pollute prototypes in LibreChat, enabling unauthorized data modification and privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-7104?

CVE-2025-7104 is a medium-severity vulnerability in Librechat Librechat, published on 29 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-915

Which versions are affected by CVE-2025-7104?

It affects 1 product.

Products include Librechat Librechat.

How do I fix CVE-2025-7104?

No fix has been published for CVE-2025-7104 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-7104 being exploited?

There is no known exploitation of CVE-2025-7104 in the wild and no public exploit code.

All Librechat Librechat vulnerabilities

Sources

Also known as GHSA-cwvq-3gph-65p4.

Is CVE-2025-7104 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free