{"id":"CVE-2026-54036","aliases":["CVE-2026-54036"],"related":[],"kind":"vulnerability","state":"published","title":"LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"LibreChat es un clon mejorado de ChatGPT que soporta múltiples proveedores de IA. Antes de la versión 0.8.4-rc1, el endpoint GET /api/auth/2fa/enable puede ser llamado por un usuario autenticado (o un atacante con una sesión robada) incluso cuando la 2FA ya está completamente habilitada en la cuenta. Este endpoint sobrescribe el secreto TOTP existente, genera nuevos códigos de respaldo y establece twoFactorEnabled en falso - todo sin requerir ninguna verificación de TOTP o código de respaldo. Un atacante con un token de sesión válido puede tomar el control completo de la 2FA de una víctima, bloqueando al usuario legítimo de su propia autenticación de dos factores. Esta vulnerabilidad está corregida en la versión 0.8.4-rc1.","source":"nvd"}],"published":"2026-06-25T15:39:33.850Z","modified":"2026-10-25T22:10:00.150Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"version":"< 0.8.4-rc1","status":"affected"}],"vendor":"danny-avila","product":"LibreChat","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"0.8.3"}],"vendor":"librechat","product":"librechat","cpe":"cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-45fp-6q26-wfgq","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-25T16:01:44.216Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54036","url":"https://www.cve.org/CVERecord?id=CVE-2026-54036","licence":"CVE Terms of Use","modified":"2026-06-25T16:01:59.612Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54036","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54036","licence":"Public domain","modified":"2026-10-25T22:10:00.150Z"}],"updatedAt":"2026-11-25T22:59:26.377Z","epss":{"score":0.00249,"percentile":0.1744,"date":"2026-12-01T12:00:22.000Z"}}