CVE-2026-54023
LibreChat: Federated OAuth Tokens Exposed via `/api/user` Endpoint
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Jun 11, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N | GitHub_M |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LibreChatLibreChat-AI |
|
References
- 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
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.