CVE-2026-54039
LibreChat is an enhanced ChatGPT clone that supports multiple AI …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LibreChat-AI/LibreChat/commit/b01d34abe29152e6e7f763089c0d9a6e647d0dba
- github.com/LibreChat-AI/LibreChat/pull/13307
- github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m
- www.librechat.ai/changelog/v0.8.6
- nvd.nist.gov/vuln/detail/CVE-2026-54039
- cve.org/CVERecord?id=CVE-2026-54039
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.