CVE-2026-54039: LibreChat Improper Authentication
Published 2026-11-20 · Updated 2026-11-24 · Source security-advisories@github.com
Not known to be exploited · high severity — update LibreChat to 0.8.6 or later in your next patch cycle.
What to do
- Update LibreChat to version 0.8.6 or later. Versions from 0.7.0 up to, but not including, 0.8.6 are affected.
- Until it is patched, do not leave LibreChat reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Remove the affected login or management interface from untrusted networks until the fix is applied.
- Exploitation needs a victim to act, so warn users of the affected system about unexpected links and files.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| LibreChat | ≥ 0.7.0, < 0.8.6 | 0.8.6 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and a victim has to take an action such as opening a link or file. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality and integrity is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | Required | A victim has to take an action, such as opening a link or file. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | None | No effect on availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness: Improper Authentication
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/LibreChat-AI/LibreChat/commit/b01d34abe29152e6e7f763089c0d9a6e647d0dba
- Patchhttps://github.com/LibreChat-AI/LibreChat/pull/13307
- Patchhttps://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- Patchhttps://www.librechat.ai/changelog/v0.8.6
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m