# CVE-2026-54036: LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/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.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T15:39:33.850Z
- Modified: 2026-10-25T22:10:00.150Z
- Weaknesses: CWE-306
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the GET /api/auth/2fa/enable endpoint can be called by an authenticated user (or attacker with a stolen session) even when 2FA is already fully enabled on the account. This endpoint overwrites the existing TOTP secret, generates new backup codes, and sets twoFactorEnabled to false — all without requiring any TOTP or backup code verification. An attacker with a valid session token can completely take over a victim's 2FA, locking the legitimate user out of their own two-factor authentication. This vulnerability is fixed in 0.8.4-rc1.

(As written by CVE List.)

## Affected

- danny-avila LibreChat: < 0.8.4-rc1
- librechat librechat: up to 0.8.3

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/danny-avila/LibreChat/security/advisories/GHSA-45fp-6q26-wfgq> (exploit, vendor-advisory)

## Sources

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

---

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