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

Published Sep 29, 2025
·
Updated

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, accesslevel, isCollaborative, and projectIds. Additionally, the Object.Prototype can be polluted due to the use of Object.assign with spread operators.

Affected Software

2 affected components
danny-avila librechat<
librechat librechat<0.7.9

Event History

Sep 29, 2025
CVE Published
via MITRE·05:10 PM
Data Sourced
via MITRE·05:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-7104?

CVE-2025-7104 is classified as a high severity vulnerability due to its potential for mass assignment attacks.

2

How do I fix CVE-2025-7104?

To fix CVE-2025-7104, implement proper data filtering and validation mechanisms to restrict user input from being bound to sensitive fields.

3

What are the implications of CVE-2025-7104 for my application?

The implications of CVE-2025-7104 include unauthorized access and manipulation of sensitive data, which can compromise application security.

4

Which versions of librechat are affected by CVE-2025-7104?

All versions of danny-avila/librechat are affected by CVE-2025-7104.

5

Can CVE-2025-7104 lead to data breaches?

Yes, CVE-2025-7104 can lead to data breaches by allowing attackers to manipulate or access sensitive information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203