Skip to content
HighVulnerability

CVE-2026-54039: LibreChat account takeover through registration and social login email fallback

Identifier
CVE-2026-54039
Published
Record updated
View JSON
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.