CVE-2026-54039

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.
Configurations

No configuration.

History

23 Nov 2026, 19:17

Type Values Removed Values Added
References () https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m - () https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m -

20 Nov 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-20 20:17

Updated : 2026-11-24 17:54


NVD link : CVE-2026-54039

Mitre link : CVE-2026-54039

CVE.ORG link : CVE-2026-54039


JSON object : View

Products Affected

No product.

CWE
CWE-287

Improper Authentication

CWE-915

Improperly Controlled Modification of Dynamically-Determined Object Attributes