CVEvulnerability

CVE-2025-8850

8.8 HIGH Published 2025-10-30 Modified 2026-10-07 Official page ↗
Status
Analyzed
Published
2025-10-30
Last modified
2026-10-07
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
3.1 LOW — CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-440

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.

Affected configurations

• librechat librechat 0.7.9

Related

Weakness · CWE (1)

  • CWE-440 Expected Behavior Violation weakness

References