CVE-2026-54023

LibreChat: Federated OAuth Tokens Exposed via /api/user Endpoint

Medium published · updated

6.0
CVSS score out of 10 · NVD (github.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
librechat librechat-ai >= 0.8.5, < 0.8.6— CVE.org

References