CVE-2026-54031

MEDIUM CVSS 3.1: 6.3 EPSS 0.55%
Updated Nov 25, 2026
Librechat
Parameter Value
CVSS 6.3 (MEDIUM)
Fixed In 0.8.8
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Librechat
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1