Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › AI

CVE-2026-54042 — LibreChat-AI LibreChat

Medium · CVSS 6.8EPSS 0.5% First seen November 20, 2026

One of 12 LibreChat-AI LibreChat vulnerabilities published together by NVD: our article covers all of them.

AIVulnerabilitiesData protection

Research article

LibreChat 0.8.7 Before: Repeated 2FA Code Guessing Vulnerability

CVECVE-2026-54042
Vendor and productLibreChat-AI LibreChat
PublishedNovember 25, 2026 20:40 UTC
Research cut-offNovember 25, 2026 20:10 UTC
Sources reviewed3: NVD record (last modified 2026-11-25); CISA KEV catalog; FIRST EPSS (2026-11-24)

Executive summary

CVE-2026-54042 impacts LibreChat versions before 0.8.7, enabling attackers with valid credentials and a temporary token to guess 2FA codes without rate limiting [1]. The CVSS 3.1 score is 6.8 MEDIUM, scored by security-advisories@github.com [1]. The reviewed sources do not report exploitation [2]. The main action is to update to version 0.8.7 [1].

Key points

  • CVE-2026-54042 affects LibreChat versions prior to 0.8.7 [1].
  • The CVSS 3.1 score is 6.8 MEDIUM, scored by security-advisories@github.com [1].
  • The reviewed sources do not report exploitation [2].
  • The main action is to update to version 0.8.7 [1].
  • The vulnerability allows repeated 2FA code guessing without rate limiting [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-54042LibreChat-AILibreChatCWE-3076.8 MEDIUM, scored by security-advisories@github.com2026-11-20T20:17:422026-11-25T05:18:37Received

Vulnerability description

An attacker with valid primary credentials and a temporary token can attempt multiple second-factor verifications to guess 2FA codes without any restriction on the number of attempts, potentially leading to full session access once a correct code is identified [1]. This issue exists in LibreChat versions prior to 0.8.7 [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates the vulnerability is reachable over the network, has high attack complexity, requires low privileges, and needs no user interaction [1]. The attacker must already have valid primary credentials and a valid temporary token to exploit this issue [1].

Impact analysis

The CVSS vector suggests high risks to confidentiality and integrity, with no impact on availability. The vulnerability could allow an attacker to gain full session access if a valid code is guessed [1].

Affected products and versions

Affected ProductAffected VersionFixed Version
LibreChat-AI LibreChat< 0.8.70.8.7

Exploitation and threat intelligence status

CVE-2026-54042 is not listed in the CISA KEV catalog as of 2026-11-25 [2]. The EPSS score estimates a 0.43% probability of exploitation within the next 30 days [3].

Detection and exposure assessment

Installed versions below 0.8.7 are listed as affected [1]; the sources do not describe a specific method for checking exposure.

Remediation

The vulnerability is resolved in version 0.8.7 [1].

Remediation checklist

  1. Update LibreChat to version 0.8.7 [1].
  2. Review authentication mechanisms for rate-limiting second-factor attempts.
  3. Monitor for unusual login activity or repeated failed 2FA attempts.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not describe the technical mechanics of the flaw beyond the CVSS vector.
  • The sources do not describe a scenario or attack lifecycle.
  • The sources do not provide indicators of compromise.
  • The sources do not list a fixed version beyond 0.8.7.

References

  1. CVE-2026-54042 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-54042. Accessed 2026-11-25. CVE-2026-54042 record, CVSS 3.1 score, CWE, affected versions, official description
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-25. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-25. CISA KEV catalog status, no exploitation evidence
  3. EPSS score for CVE-2026-54042. FIRST, 2026-11-24. https://api.first.org/data/v1/epss?cve=CVE-2026-54042. Accessed 2026-11-25. EPSS score and percentile for exploitation probability

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7, POST /api/auth/2fa/verify-temp in api/server/routes/auth.js calls verify2FAWithTempToken and accepts repeated TOTP or backup-code guesses without a dedicated attempt limiter. An attacker must first possess valid primary credentials and a valid five-minute temp token, but can then make repeated second-factor attempts and obtain a full session if a valid code is guessed. This issue is fixed in version 0.8.7.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 6.8 CVSS 3.1 base score from the CNA (github.com)

An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Attack from
the network (remotely)
Attack complexity
high (only works under specific conditions)
Login needed
yes, a normal user account
User action needed
no
Scope
stays within the vulnerable component
Impact
high on confidentiality and integrity, none on availability

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

Weakness

  • CWE-307: Improper Restriction of Excessive Authentication Attempts

Affected and fixed versions

ProductAffected versionsFixed in
LibreChat-AI LibreChat< 0.8.7—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • LibreChat-AI LibreChat

Frequently asked questions

What is CVE-2026-54042?

CVE-2026-54042 impacts LibreChat versions before 0.8.7, enabling attackers with valid credentials and a temporary token to guess 2FA codes without rate limiting. The CVSS 3.1 score is 6.8 MEDIUM, scored by security-advisories@github.com. The reviewed sources do not report exploitation. The main action is to update to version 0.8.7. Weakness type: Improper Restriction of Excessive Authentication Attempts (CWE-307).

How severe is CVE-2026-54042?

CVE-2026-54042 has a CVSS 3.1 base score of 6.8 (medium), from the CNA (github.com). An attacker with a normal user account can exploit this over the network, without any user action, but only under specific conditions.

Is CVE-2026-54042 being exploited?

Not as far as is known: CVE-2026-54042 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-54042?

LibreChat-AI LibreChat < 0.8.7.

How do I fix CVE-2026-54042?

Update LibreChat to version 0.8.7. Review authentication mechanisms for rate-limiting second-factor attempts. Monitor for unusual login activity or repeated failed 2FA attempts.

Timeline & sources

References

Related vulnerabilities & news