# CVE-2025-8850: Insecure API Design in danny-avila/librechat

- Severity: Low 3.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 47% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-30T19:59:36.327Z
- Modified: 2026-10-07T21:10:00.200Z
- Weaknesses: CWE-440
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- danny-avila danny-avila/librechat: from unspecified before v0.8.0-rc2
- librechat librechat: 0.7.9

## Every score

- @huntr_ai: CVSS:3.0 3.1 Low `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/8e615709-f4de-41e2-b194-f0d91ed7c75e> (exploit, patch, third-party-advisory)
- <https://github.com/danny-avila/librechat/commit/7e4c8a5d0d2dbe5bf8fd272ff6acafb27d24744f> (patch)

## Sources

- CVE List: [CVE-2025-8850](https://www.cve.org/CVERecord?id=CVE-2025-8850), CVE Terms of Use, modified 2025-11-05
- NVD: [CVE-2025-8850](https://nvd.nist.gov/vuln/detail/CVE-2025-8850), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-8850 · Whole record: https://cve.day/CVE-2025-8850.json · Rebuilt by cve.day 2026-11-25T22:59:07.063Z
