Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
LibreChat-AI LibreChat
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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/ser

CVSS 8.1 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
LibreChat-AI LibreChat >= 0.7.0, < 0.8.6 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54039

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
LibreChat-AI LibreChat >= 0.7.0, < 0.8.6 -

II. Public POCs for CVE-2026-54039

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54039

请登录查看更多情报信息。

Other References for CVE-2026-54039 (5)

Same Patch Batch · LibreChat-AI · 2026-11-20 · 12 CVEs total

CVE-2026-54044 7.7 HIGH LibreChat: Shared-Agent Editor Can Exfiltrate Owner Action API Keys via OpenAPI Spec Swap
CVE-2026-54042 6.8 MEDIUM LibreChat: Missing Rate Limiting on 2FA Verification Endpoint Allows TOTP Guessing Attempt
CVE-2026-54026 6.5 MEDIUM LibreChat: Cross-User Message Injection via Parameter Confusion
CVE-2026-54038 6.5 MEDIUM LibreChat: Server-Side ReDoS via Unescaped Regex in Principal Search
CVE-2026-54045 6.5 MEDIUM LibreChat: Password Reset Can Wipe Email-Verification Tokens When Verification Is Enforced
CVE-2026-54043 6.3 MEDIUM LibreChat: Unauthorized File Content Access via Chat Attachment file_id
CVE-2026-54031 6.3 MEDIUM LibreChat: MCP OAuth requests can follow redirects to internal URLs after SSRF validation
CVE-2026-54032 6.1 MEDIUM LibreChat: Remote MCP Server Description XSS via Unsanitized dangerouslySetInnerHTML; seco
CVE-2026-54023 6.0 MEDIUM LibreChat: Federated OAuth Tokens Exposed via `/api/user` Endpoint
CVE-2026-54046 5.3 MEDIUM LibreChat: Unauthenticated User Enumeration via Email Verification Endpoint
CVE-2026-54041 3.1 LOW LibreChat: Plaintext password logged on login validation error

IV. Related Vulnerabilities