Authentication Flaw in LibreChat Allows Unauthenticated Access
CVE-2026-54039
What is CVE-2026-54039?
An authentication vulnerability exists in LibreChat, where an unauthenticated attacker can manipulate the registration process to associate a forged provider value with a victim's email. This flaw allows the attacker to gain persistent read and write access to the victim's data by exploiting the OAuth session process. The issue arises when local registration is enabled with social provider configurations between versions 0.7.0 and 0.8.6. This persistent access occurs without verifying the provider subject identifier, enabling unauthorized actions using the victim's credentials, particularly concerning in new deployments where the first-user administrator role can be compromised. The issue is resolved in version 0.8.6.
Affected Version(s)
LibreChat >= 0.7.0, < 0.8.6
