CVE-2025-8850: Insecure API Design in danny-avila/librechat

Published Oct 30, 2025
·
Updated

In danny-avila/librechat version 0.7.9, there is an insecure API design issue in the 2-Factor Authentication (2FA) flow. The system allows users to disable 2FA without requiring a valid OTP or backup code, bypassing the intended verification process. This vulnerability occurs because the backend does not properly validate the OTP or backup code when the API endpoint '/api/auth/2fa/disable' is directly accessed. This flaw can be exploited by authenticated users to weaken the security of their own accounts, although it does not lead to full account compromise.

Affected Software

2 affected components
danny-avila librechat
librechat librechat=0.7.9

Event History

Oct 30, 2025
CVE Published
via MITRE·07:59 PM
Data Sourced
via MITRE·07:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Dec 4, 57887
Event
via FIRST·11:47 AM
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-8850?

CVE-2025-8850 is classified as a high severity vulnerability due to its potential to bypass security controls in the 2-Factor Authentication process.

2

How do I fix CVE-2025-8850?

To resolve CVE-2025-8850, update to the latest version of danny-avila/librechat where the insecure API design issue has been addressed.

3

What is the impact of CVE-2025-8850?

The impact of CVE-2025-8850 allows unauthorized users to disable 2FA, compromising account security.

4

Who is affected by CVE-2025-8850?

Users of danny-avila/librechat version 0.7.9 are affected by CVE-2025-8850.

5

When was CVE-2025-8850 disclosed?

CVE-2025-8850 was disclosed in 2025, along with the associated risks and recommended mitigations.

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