Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54036— LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification

Quick assessment

Affected
danny-avila LibreChat
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

danny-avila LibreChat是danny-avila个人开发者的 Danny Avila LibreChat 0.8.4-rc1之前版本存在授权问题漏洞,该漏洞源于GET /api/auth/2fa/enable端点允许已认证用户在2FA已启用时覆盖TOTP密钥并生成新备份码,关闭双重验证,可能导致攻击者利用有效会话令牌完全接管受害者2FA权限。

CVSS 5.3 · Medium EPSS 0.38% · P30

Affected Version Matrix 1

VendorProduct Version RangeStatus
danny-avila LibreChat < 0.8.4-rc1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54036

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LibreChat: 2FA Re-enrollment Allows Full Account 2FA Takeover Without OTP Verification
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
关键功能的认证机制缺失
Source: CVE Program / CVE List V5
Vulnerability Title
Danny Avila LibreChat 授权问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
danny-avila LibreChat是danny-avila个人开发者的 Danny Avila LibreChat 0.8.4-rc1之前版本存在授权问题漏洞,该漏洞源于GET /api/auth/2fa/enable端点允许已认证用户在2FA已启用时覆盖TOTP密钥并生成新备份码,关闭双重验证,可能导致攻击者利用有效会话令牌完全接管受害者2FA权限。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
danny-avila LibreChat < 0.8.4-rc1 -

II. Public POCs for CVE-2026-54036

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54036

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-54036 (1)

Same Patch Batch · danny-avila · 2026-06-25 · 9 CVEs total

CVE-2026-54030 8.0 HIGH LibreChat: Missing Resource Parameter Validation in MCP OAuth Flow
CVE-2026-54033 7.7 HIGH LibreChat: SSRF via User-Provided Custom Endpoint baseURL — no private IP validation on us
CVE-2026-54027 6.5 MEDIUM LibreChat: Image Upload Route Bypasses Agent Permission Check — Incomplete Fix for File Up
CVE-2026-54037 6.5 MEDIUM LibreChat: Incomplete Fix for CVE-2025-7105 — /api/convos/duplicate Lacks Rate Limiting Ap
CVE-2026-54024 6.5 MEDIUM LibreChat: Incomplete Fix for CVE-2024-11171 — Conversation Import Multer Instance Missing
CVE-2026-54040 5.9 MEDIUM LibreChat: 2FA Backup Code Regeneration Without OTP Verification Allows 2FA Bypass
CVE-2026-54025 5.4 MEDIUM LibreChat: Stored XSS via unescaped image alt text in markdown artifact preview
CVE-2026-54029 5.3 MEDIUM LibreChat: IDOR in Message Deletion — Incomplete Fix for CVE-2024-41703 Leaves deleteMessa

IV. Related Vulnerabilities

V. Comments for CVE-2026-54036

No comments yet


Leave a comment