CVE-2026-54039 — LibreChat-AI LibreChat
One of 12 LibreChat-AI LibreChat vulnerabilities published together by NVD: our article covers all of them.
AIIdentity & authEmailVulnerabilitiesResearch article
LibreChat 0.7.0 to 0.8.6: Unauthenticated User Can Forge Social Provider in Registration
| CVE | CVE-2026-54039 |
|---|---|
| Vendor and product | LibreChat-AI LibreChat |
| Published | November 23, 2026 18:00 UTC |
| Research cut-off | November 23, 2026 17:05 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-20); CISA KEV catalog; FIRST EPSS (2026-11-22) |
Executive summary
CVE-2026-54039 impacts LibreChat versions 0.7.0 through 0.8.6, enabling an unauthenticated attacker to manipulate a social provider during registration [1]. The CVSS 3.1 score is 8.1, HIGH, with a vector of AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, scored by security-advisories@github.com [1]. The reviewed sources do not report any confirmed exploitation [2]. The recommended action is to update to version 0.8.6 [1].
Key points
- CVE-2026-54039 affects LibreChat versions 0.7.0 through 0.8.6 [1].
- An unauthenticated attacker can alter a social provider during registration [1].
- The CVSS 3.1 score is 8.1, HIGH, with a vector of AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N [1].
- The reviewed sources do not report any confirmed exploitation [2].
- Upgrade to LibreChat 0.8.6 to resolve the issue [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-54039 | LibreChat-AI | LibreChat | CWE-287, CWE-915 | 8.1 HIGH, scored by security-advisories@github.com | 2026-11-20T20:17:42 | 2026-11-20T21:17:38 | Received |
Vulnerability description
A defect in LibreChat's sign-up flow lets a attacker who has not logged in store a counterfeit identity-provider value against an existing victim's email address [1]. Because of this tampering, the victim's OAuth login and the attacker's password-based login end up tied to one account record, which gives the attacker lasting read and write control over material the victim generated [1].
Attack surface and exploitation prerequisites
The vulnerability is triggered when local registration is active and at least one social login provider is set up. The attacker sends a request to POST /api/auth/register, which passes an unparsed request object into the auth service [1]. User interaction is required, since the CVSS vector's UI:R indicates the victim must act, and the planted record is accepted when the victim signs in [1].
Impact analysis
The CVSS score indicates significant risks to data confidentiality and integrity, with no impact on system availability. The attacker can access and modify the victim's data, and in new installations, the first user may also gain administrative privileges [1].
Affected products and versions
| Product | Affected Version | Fixed Version |
|---|---|---|
| LibreChat-AI LibreChat | >= 0.7.0, < 0.8.6 | 0.8.6 |
Exploitation and threat intelligence status
CVE-2026-54039 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-23 [2]. The EPSS score for exploitation within the next 30 days is 0.67%, with a percentile of 0.5295 [3].
Detection and exposure assessment
To assess exposure, verify if the installed version of LibreChat falls within the affected range. The sources do not provide specific detection methods [1].
Remediation
The vulnerability is resolved in version 0.8.6 [1]. Updating to this version is the recommended solution to address the issue.
Remediation checklist
- Upgrade LibreChat to version 0.8.6 [1].
- Review and disable local registration if it is not required.
- Audit social provider configurations to ensure they are properly secured.
- Monitor user sessions for unusual activity.
Evidence gaps
- The sources do not describe the technical background of LibreChat [1].
- The sources do not explain the root cause of the vulnerability beyond the CWE [1].
- The sources do not describe how the flaw works in technical detail [1].
- The sources do not describe any exploitation scenarios or attack lifecycle [1].
- The sources do not mention indicators of compromise [1].
- The sources do not provide any workarounds or compensating controls [1].
References
- CVE-2026-54039 record. NIST National Vulnerability Database (NVD), 2026-11-20. https://nvd.nist.gov/vuln/detail/CVE-2026-54039. Accessed 2026-11-23.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-23. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-23.
- EPSS score for CVE-2026-54039. FIRST, 2026-11-22. https://api.first.org/data/v1/epss?cve=CVE-2026-54039. Accessed 2026-11-23.
Summary
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.
Severity breakdown
High · 8.1
An attacker without an account can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-287: Improper Authentication
- CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| LibreChat-AI LibreChat | >= 0.7.0, < 0.8.6 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/LibreChat-AI/LibreChat/commit/b01d34abe29152e6e7f763089c0d9a…
- github.com/LibreChat-AI/LibreChat/pull/13307
- github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
Other references
Affected
- LibreChat-AI LibreChat
Frequently asked questions
What is CVE-2026-54039?
CVE-2026-54039 impacts LibreChat versions 0.7.0 through 0.8.6, enabling an unauthenticated attacker to manipulate a social provider during registration. The CVSS 3.1 score is 8.1, HIGH, with a vector of AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, scored by security-advisories@github.com. The reviewed sources do not report any confirmed exploitation. The recommended action is to update to version 0.8.6. Weakness type: Improper Authentication (CWE-287).
How severe is CVE-2026-54039?
CVE-2026-54039 has a CVSS 3.1 base score of 8.1 (high), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action.
Is CVE-2026-54039 being exploited?
Not as far as is known: CVE-2026-54039 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-54039?
LibreChat-AI LibreChat >= 0.7.0, < 0.8.6.
How do I fix CVE-2026-54039?
Upgrade LibreChat to version 0.8.6. Review and disable local registration if it is not required. Audit social provider configurations to ensure they are properly secured.