CVE-2026-54031: medium-severity vulnerability in LibreChat-AI LibreChat
LibreChat: MCP OAuth requests can follow redirects to internal URLs after SSRF validation
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.3epss 0.3%
LibreChat is an enhanced ChatGPT clone that supports multiple AI providers. Prior to 0.8.8, packages/api/src/mcp/oauth/handler.ts createOAuthFetch validates only the initial destination for MCP OAuth discovery, registration, token, refresh, and revocation requests, then uses redirect-following fetch behavior without validating each redirect target. An attacker who can initiate MCP OAuth against a controlled endpoint can redirect server requests to internal or private addresses, reaching services that the initial SSRF checks should block. The separate MCP transport path already validates redirects and is not affected. This issue is fixed in version 0.8.8.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Affected products
LibreChat-AI · LibreChatRelated CVEs — LibreChat-AI LibreChat
In the same product, most dangerous first.
CVE-2026-54046MEDIUMLibreChat: Unauthenticated User Enumeration via Email Verification EndpointEPSS 0.8%CVE-2026-54039HIGHLibreChat: Pre-registration account takeover via attacker-controlled `provider` field and social-login email fallbackEPSS 0.7%CVE-2026-54023MEDIUMLibreChat: Federated OAuth Tokens Exposed via `/api/user` EndpointEPSS 0.6%CVE-2026-54041LOWLibreChat: Plaintext password logged on login validation errorEPSS 0.6%CVE-2026-54045MEDIUMLibreChat: Password Reset Can Wipe Email-Verification Tokens When Verification Is EnforcedEPSS 0.5%CVE-2026-54038MEDIUMLibreChat: Server-Side ReDoS via Unescaped Regex in Principal SearchEPSS 0.5%
References
https://github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67https://github.com/LibreChat-AI/LibreChat/pull/16514https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrjhttps://www.librechat.ai/changelog/v0.8.8