PT-2026-153301
CVE-2026-54039
·
Published
2026-11-20
·
Updated
2026-11-20
Description by
CVSS 3.1
8.1
HighMetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
LibreChat versions 0.7.0 through 0.8.5
Description
An issue exists when local registration is enabled and at least one social provider is configured. An unauthenticated attacker can send a request to the 'POST /api/auth/register' endpoint, which passes an unparsed request object into
api/server/services/AuthService.js. This allows the attacker to persist a forged provider value for a known victim email. Subsequently, the email-fallback path in api/strategies/socialLogin.js accepts the planted record during the victim's sign-in process because it compares the stored provider name without requiring the provider subject identifier. This results in the victim's OAuth session and the attacker's local-password session being bound to the same user record, granting the attacker persistent read and write access to the victim's data. On fresh deployments, this may also grant the attacker the first-user administrator role.Recommendations
Update to version 0.8.6.
Found an issue in the description? Have something to add? Feel free to write us 👾