CVE-2026-54036
published medium CVSS 3.1 · 5.3LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| danny-avila | — | LibreChat< 0.8.4-rc1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| danny-avila | LibreChat | < 0.8.4-rc1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-306 CWE-306: Missing Authentication for Critical Function
References
1Provider assertions
2GitHub_M · cna
LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 37fdf50a14d23dda3eab97d917279fe1265c228f41f32123633909559f28b466
- Ingested
- 23 Sep 2026, 09:20:18 UTC
- Source record
- Official CVE record