CVE-2026-54031
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.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
Source evidence and freshness
Lifecycle: Awaiting Analysis. Technical severity: CVSS 3.1 · Provider: security-advisories@github.com. Exploitation evidence and inventory applicability are separate assessments.
Source configuration conditions
Source expressions may include required platforms and alternatives. Unsupported expressions remain unresolved in the version checker.
[]
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N