{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54040","published":"2026-06-25T17:16:41.123000Z","last_modified":"2026-10-25T22:10:00.150000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-306"],"cpes":[{"criteria":"cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:*","part":"a","vendor":"librechat","product":"librechat","version_end_including":"0.8.3"}],"cpes_truncated":false,"vendors":["librechat"],"products":["librechat/librechat"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":43,"links":{"html_es":"/es/cve/CVE-2026-54040/","html_en":"/en/cve/CVE-2026-54040/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54040","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54040"},"untrusted":{"vendor_name":"Librechat","product_name":"Librechat","desc_en":"LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.4-rc1, the POST /api/auth/2fa/backup/regenerate endpoint regenerates all 2FA backup codes without requiring any TOTP token or existing backup code verification. An attacker with a stolen session token can silently replace a victim's backup codes and use them to bypass 2FA login or disable 2FA entirely. This vulnerability is fixed in 0.8.4-rc1.","affected":[{"untrusted_vendor":"danny-avila","untrusted_product":"LibreChat","versions":[]}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-h59w-x9h4-m6gv","tags":["Exploit","Vendor Advisory"]}]}}