← Vulnerability feed

Vulnerability record · CVE-2026-54036 · published 25 June 2026

CVE-2026-54036: Librechat missing authentication for critical function vulnerability

Librechat · Librechat

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.

8.1 CVSS 3.1 High EPSS 0.38% · top 70.3% CWE-306 · Missing authentication for critical function
8.1CVSS 3.1 base score
0.38%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
26 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-54036 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2026-22252Librechat improper authorization vulnerabilityLibreChat is a ChatGPT clone with additional features. Prior to v0.8.2-rc2, LibreChat's MCP stdio transport accepts arbitrary commands without valida…EPSS 4.1%9.8CVE-2024-41703Librechat improper access control vulnerabilityLibreChat through 0.7.4-rc1 has incorrect access control for message updates.EPSS 0.36%9.8CVE-2024-41704Librechat path traversal vulnerabilityLibreChat through 0.7.4-rc1 does not validate the normalized pathnames of images.EPSS 0.67%9.6CVE-2026-32625Librechat information exposure vulnerabilityLibreChat is an enhanced ChatGPT clone that supports multiple AI providers. In versions up to and including 0.8.3, the Model Context Protocol (MCP) s…EPSS 0.41%9.3CVE-2026-54030Librechat origin validation error vulnerabilityLibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.5, LibreChat's MCP OAuth implementation does not validate th…EPSS 0.17%9.1CVE-2024-10361Librechat path traversal vulnerabilityAn arbitrary file deletion vulnerability exists in danny-avila/librechat version v0.7.5-rc2, specifically within the /api/files endpoint. This vulner…EPSS 0.99%9.0CVE-2026-33265Librechat vulnerabilityIn LibreChat 0.8.1-rc2, a logged-in user obtains a JWT for both the LibreChat API and the RAG API.EPSS 0.25%8.8CVE-2025-8850Librechat vulnerabilityIn danny-avila/librechat version 0.7.9, there is an insecure API design issue in the 2-Factor Authentication (2FA) flow. The system allows users to d…EPSS 0.42%

Source: NIST National Vulnerability Database (record CVE-2026-54036), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.