{"id":"CVE-2026-54036","published":"2026-06-25T15:39:33Z","modified":"2026-06-25T16:01:59Z","title":"LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification","vendor":"danny-avila","product":"LibreChat","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00383,"percentile":0.2412,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-45fp-6q26-wfgq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":4.82},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"danny-avila","affectedVersions":[{"vendor":"danny-avila","product":"LibreChat","versions":["< 0.8.4-rc1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-25T16:01:44.216251Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39454","exploited":false,"provenance":"source"}}