Federated OAuth tokens exposed via /api/user endpoint in LibreChat
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| LibreChat-AI | LibreChat | 0.8.5 to before 0.8.6 | 0.8.6 | Patch available | CNA |
- 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
- 2026-11-20 Threatist record created from CVE-2026-54023
- 2026-11-20 Affected versions changed · CNA
- 2026-11-20 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-p84h-536v-gm3g
- https://github.com/LibreChat-AI/LibreChat/pull/13421
- https://github.com/LibreChat-AI/LibreChat/commit/75baa5b8483982823bbfc80dea0f227a8e4a66d0
- 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-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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences