CVE-2025-7104 Mass Assignment in danny-avila/librechat
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.
Other vulnerabilities in Librechat Librechat
- CVE-2026-32625 LibreChat Exfiltrates Server Secrets via MCP Server URL Injection
- CVE-2024-11167 Improper Access Control in danny-avila/librechat
- CVE-2026-22252 LibreChat MCP Stdio Remote Command Execution
- CVE-2025-69222 LibreChat is vulnerable to Server-Side Request Forgery due to missing restrictions
- CVE-2024-41704 Path traversal in n/a
Sources
Also known as GHSA-cwvq-3gph-65p4.