CVE Explorer
CVE-2026-54040
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"LibreChat","vendor":"danny-avila","versions":[{"status":"affected","version":"< 0.8.4-rc1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2c8ec0192c336e1312ee415386b8b8dcd78f82b589ad7c644ef4f6b36e727733 · sha256:d1857cbd3eda5b14… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2c8ec0192c336e1312ee415386b8b8dcd78f82b589ad7c644ef4f6b36e727733 · sha256:d1857cbd3eda5b14… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-306","description":"CWE-306: Missing Authentication for Critical Function","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2c8ec0192c336e1312ee415386b8b8dcd78f82b589ad7c644ef4f6b36e727733 · sha256:d1857cbd3eda5b14… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-h59w-x9h4-m6gv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-h59w-x9h4-m6gv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c8ec0192c336e1312ee415386b8b8dcd78f82b589ad7c644ef4f6b36e727733 · sha256:d1857cbd3eda5b14… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-h59w-x9h4-m6gv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c8ec0192c336e1312ee415386b8b8dcd78f82b589ad7c644ef4f6b36e727733 · sha256:d1857cbd3eda5b14… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.