HighVulnerability
CVE-2026-54039: LibreChat account takeover through registration and social login email fallback
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-54039
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
LibreChat versions from 0.7.0 through 0.8.6 are affected when local registration is enabled and at least one social provider is configured. An unauthenticated attacker can send a request to POST /api/auth/register that stores a forged provider value for a known victim email, which the email-fallback path in api/strategies/socialLogin.js accepts at the victim's sign-in because it does not require the provider subject identifier. The attacker then gains persistent read and write access to the victim's data, and on a fresh deployment may also obtain the first-user administrator role.
Mitigation
Fixed in version 0.8.6.
Related items
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database
- MediumCVE-2026-54046: LibreChat unauthenticated account enumeration via /api/user/verifySimilar attack · NVD/CVE Database
- HighCVE-2026-54044: LibreChat credential exposure through agent action domain repointingSimilar attack · NVD/CVE Database
- MediumCVE-2026-54043: LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7…Similar attack · NVD/CVE Database
- MediumCVE-2026-54042: LibreChat 2FA verification unlimited code guessing via temp token endpointSimilar attack · NVD/CVE Database