danny-avila librechat up to 0.8.0-rc1 API Endpoint expected behavior violation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.0$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in danny-avila librechat up to 0.8.0-rc1. This affects an unknown part of the component API Endpoint. Executing a manipulation can lead to expected behavior violation. This vulnerability is registered as CVE-2025-8850. It is possible to launch the attack remotely. No exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in danny-avila librechat up to 0.8.0-rc1. It has been declared as problematic. This vulnerability affects some unknown functionality of the component API Endpoint. The manipulation with an unknown input leads to a expected behavior violation vulnerability. The CWE definition for the vulnerability is CWE-440. A feature, API, or function does not perform according to its specification. As an impact it is known to affect integrity. CVE summarizes:

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.

The advisory is shared for download at huntr.com. This vulnerability was named CVE-2025-8850 since 08/10/2025. The exploitation appears to be difficult. The attack can be initiated remotely. There are neither technical details nor an exploit publicly available.

Upgrading to version 0.8.0-rc2 eliminates this vulnerability. Applying the patch 7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.0
VulDB Meta Temp Score: 5.0

VulDB Base Score: 3.1
VulDB Temp Score: 3.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔒

CNA Base Score: 3.1
CNA Vector (@huntr_ai): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Expected behavior violation
CWE: CWE-440 / CWE-436
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: librechat 0.8.0-rc2
Patch: 7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f

Timelineinfo

08/10/2025 CVE reserved
10/31/2025 +82 days Advisory disclosed
10/31/2025 +0 days VulDB entry created
11/20/2025 +20 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: huntr.com
Status: Confirmed

CVE: CVE-2025-8850 (🔒)
GCVE (CVE): GCVE-0-2025-8850
GCVE (VulDB): GCVE-100-330640

Entryinfo

Created: 10/31/2025 07:32
Updated: 11/20/2025 04:53
Changes: 10/31/2025 07:32 (66), 11/20/2025 04:53 (11)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!