HighVulnerability
CVE-2026-54023: LibreChat exposes OAuth tokens through GET /api/user
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-54023
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
Summary
From LibreChat 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 therefore obtain OAuth access, ID, and refresh credentials that were meant to stay server-side.
Mitigation
Fixed in version 0.8.6.
Related items
- MediumCVE-2026-54026: LibreChat message injection via conversationId in request bodySimilar attack · NVD/CVE Database
- MediumCVE-2026-54046: LibreChat unauthenticated account enumeration via /api/user/verifySimilar attack · NVD/CVE Database
- HighCVE-2026-54044: LibreChat credential exposure through agent action domain repointingSimilar attack · NVD/CVE Database
- MediumCVE-2026-54043: LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.7…Similar attack · NVD/CVE Database
- MediumCVE-2026-54042: LibreChat 2FA verification unlimited code guessing via temp token endpointSimilar attack · NVD/CVE Database