CyberSecBulletin
CVE-2025-8850NVD status: Analyzed

danny-avila/librechat: Expected Behavior Violation

CVE-2025-8850 is a high-severity expected behavior violation vulnerability in danny-avila/librechat from Danny-avila, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists version v0.8.0-rc2 as the first without the flaw, so updating danny-avila/librechat to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.41% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update danny-avila/librechat to v0.8.0-rc2 or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
Danny-aviladanny-avila/librechatbefore v0.8.0-rc2v0.8.0-rc2
LibrechatLibrechat0.7.9Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.8HighNVD
CVSS 3.03.1LowCNA (huntr.dev)

Official description

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.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Expected Behavior Violation

A feature, API, or function does not perform according to its specification.

More Expected Behavior Violation vulnerabilities (CWE-440)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in danny-avila/librechat

All danny-avila/librechat vulnerabilities

Recent Expected Behavior Violation vulnerabilities

Spotted an error? Tell us.