LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass, Tampering
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-287 and CWE-915.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LibreChat-AI | LibreChat | 0.7.0 to before 0.8.6 | 0.8.6 | Patch available | CNA |
- LibreChat VendorLibreChat-AI Affected 0.7.0 to before 0.8.6 Fixed in 0.8.6 Patch available CNA
Remediation
- Fix · CNA LibreChat (LibreChat-AI) Fixed in 0.8.6
Timeline
- 2026-11-20 Threatist record created from CVE-2026-54039
- 2026-11-20 Affected versions changed · CNA
- 2026-11-23 CISA SSVC decision points changed
- 2026-11-25 EPSS moved to the below the 50th percentile
References
Other 5
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-wjpf-x42h-cv4m
- https://github.com/LibreChat-AI/LibreChat/pull/13307
- https://github.com/LibreChat-AI/LibreChat/commit/b01d34abe29152e6e7f763089c0d9a6e647d0dba
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.6
- https://www.librechat.ai/changelog/v0.8.6
More LibreChat-AI vulnerabilities
- TI-2026-96070 Password reset deletes pending email-verification tokens in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96067 LibreChat 2FA check lacks rate limiting, allowing code guessing CVSS 3.1MEDIUM 6.8
- TI-2026-96071 User enumeration via email verification endpoint in LibreChat CVSS 3.1MEDIUM 5.3
- TI-2026-96072 Message injection into other users' conversations in LibreChat CVSS 3.1MEDIUM 6.5
- TI-2026-96063 LibreChat MCP OAuth requests follow redirects to internal addresses CVSS 3.1MEDIUM 6.3
- TI-2026-96066 Plaintext password logged on LibreChat login validation error CVSS 3.1LOW 3.1
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences