Skip to content
RedCVE

CVE-2026-54039LibreChat-AI LibreChat improper authentication

LibreChat-AIPublished:

CVSS score

8.1

High

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.67%

0.67% chance of exploitation in the next 30 days, higher than 53.0% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. From 0.7.0 until 0.8.6, when local registration is enabled and at least one social provider is configured, POST /api/auth/register passes an unparsed request object into api/server/services/AuthService.js, allowing an unauthenticated attacker to persist a forged provider value for a known victim email. The api/strategies/socialLogin.js email-fallback path then accepts the planted record when the victim signs in because it compares the stored provider name without requiring the provider subject identifier. The victim OAuth session and the attacker local-password session become bound to the same user record, giving the attacker persistent read and write access to data created by the victim. The first-user administrator role is an additional conditional impact only on a fresh deployment. This issue is fixed in version 0.8.6.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running LibreChat-AI LibreChat and compare its version with the affected versions.

  2. Update to a fixed version

    • Update LibreChat to 0.8.6 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected products

Affected productsVersions
LibreChat-AI LibreChat>= 0.7.0, < 0.8.6

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-54039 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.7% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-54039?

CVE-2026-54039 has a CVSS 3.1 base score of 8.1 (high).

Which versions are affected?

Librechat AI LibreChat (>= 0.7.0, < 0.8.6)

Is there a patch for CVE-2026-54039?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.