CVE-2025-8850CWE-440

CVE-2025-8850

High · published October 31, 2025

CVSS v3.1
8.8
EPSS
0%
Percentile
33.9
In the wild
Unconfirmed
What it is

⚠️ A user can disable 2FA without even breaking a sweat! In the world of danny-avila/librechat v0.7.9, simply accessing an API endpoint bypasses the entire OTP check — yikes! 🔥 Think of it like a restaurant where anyone can order dessert just by walking up to the counter, skipping the whole menu process. In this case, an authenticated user can disable the extra layer of security whenever they like, with no valid verification required! This could lead to a frustratingly weak security posture for your account. While it doesn’t mean an attacker can fully compromise your account, it does leave the door open for them to disable your hard-earned 2FA security — a recipe for disaster in today's digital world.

Put simply

Think of it like a restaurant where anyone can order dessert just by walking up to the counter, skipping the whole menu process. In this case, an authenticated user can disable the extra layer of security whenever they like, with no valid verification required! The vulnerability in the 2FA flow allows authenticated users to disable 2FA by simply accessing the '/api/auth/2fa/disable' endpoint without proper validation of the One Time Password (OTP) or backup code, compromising the intended security of the feature.

What to do

This could lead to a frustratingly weak security posture for your account. While it doesn’t mean an attacker can fully compromise your account, it does leave the door open for them to disable your hard-earned 2FA security — a recipe for disaster in today's digital world. To fix this, ensure that a valid OTP or backup code is required when accessing the API endpoint to disable 2FA. It's a good idea to update to version 0.8.0 or later as new patches are released to address these concerns. Review your API design for similar vulnerabilities! You've got this! Follow these steps to tighten up your security and keep those accounts safe! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00408 · 33.9th percentile
Weakness
CWE-440 · Expected Behavior Violation
Published
2025-10-31T00:15Z
Affected products (1)
ProductVersionsFixed in
librechat/librechatall versions—
References (2)
EPSS history
Timeline
  • 30 OCT 19:59Z
    Insecure API Design in danny-avila/librechat
    cvelistv5