Read the docs

Federated OAuth tokens exposed via /api/user endpoint in LibreChat

Priority LOW 27CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-200.

Summary

LibreChat from 0.8.5 before 0.8.6 returns federated tokens and tokenset data from GET /api/user to the authenticated browser, because a response-sanitization fix was not applied to this endpoint. A script running in the browser context can read OAuth access, ID, and refresh credentials that should stay on the server, as described in CWE-522. An attacker with low privileges and a user session can obtain these credentials.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. From 0.8.5 until 0.8.6, GET /api/user in api/server/controllers/UserController.js getUserController serializes federatedTokens and tokenset to the authenticated browser because an earlier response-sanitization fix was not applied to this endpoint. Browser-context script can obtain OAuth access, ID, and refresh credentials that were intended to remain server-side. This issue is fixed in version 0.8.6.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00465 32nd percentileScored 2026-11-30
Fix Fixed LibreChat (LibreChat-AI): 0.8.6

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

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.8.5 to before 0.8.60.8.6Patch availableCNA
  • LibreChat VendorLibreChat-AI Affected 0.8.5 to before 0.8.6 Fixed in 0.8.6 Patch available CNA

Remediation

Upgrade LibreChat to version 0.8.6, which fixes the issue.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA LibreChat (LibreChat-AI) Fixed in 0.8.6

Timeline

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

References

  • TI-2026-96065 LibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallback CVSS 3.1HIGH 8.1
  • 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
See all 11 →

Sources

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