Read the docs

LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback

Priority HIGH 70CWE-287Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00501 35th percentileScored 2026-11-30
Fix Fixed LibreChat (LibreChat-AI): 0.8.6

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

VendorProductAffected versionsFixed inStatusSource
LibreChat-AILibreChat0.7.0 to before 0.8.60.8.6Patch availableCNA
  • 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

  1. 2026-11-20 Threatist record created from CVE-2026-54039
  2. 2026-11-20 Affected versions changed · CNA
  3. 2026-11-23 CISA SSVC decision points changed
  4. 2026-11-25 EPSS moved to the below the 50th percentile

References

  • 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
See all 11 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences