CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Librechat

CVE-2025-8850
Librechat vulnerability

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 products

Librechat. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Librechat runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Librechat products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.