CVE-2025-8850
JSON

3.1low

Insecure API Design in danny-avila/librechat

Severity
3.1low CVSS:3.0 by @huntr_ai
Exploit likelihood
0.66% (higher than 47% of CVEs)
Published
Last changed
Assigned by
@huntr_ai

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

Product or packageVersionsReported by
danny-avila danny-avila/librechatfrom unspecified before v0.8.0-rc2CVE List
librechat librechat0.7.9NVD

All scores

@huntr_ai3.1low CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-440

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En la versión 0.7.9 de danny-avila/librechat, existe un problema de diseño de API inseguro en el flujo de autenticación de dos factores (2FA). El sistema permite a los usuarios deshabilitar la 2FA sin requerir un código OTP o de respaldo válido, eludiendo el proceso de verificación previsto. Esta vulnerabilidad ocurre porque el backend no valida correctamente el código OTP o de respaldo cuando se accede directamente al endpoint de la API '/api/auth/2fa/disable'. Esta falla puede ser explotada por usuarios autenticados para debilitar la seguridad de sus propias cuentas, aunque no conduce a un compromiso total de la cuenta.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-8850 changed 2025-11-05CVE Terms of Use
NVDCVE-2025-8850 changed 2026-10-07Public domain