HackerFeeds
All CVEs

CVE-2026-54031: LibreChat Server-Side Request Forgery

MEDIUM6.3

Published 2026-11-20 · Updated 2026-11-25 · Source security-advisories@github.com

Not known to be exploited · medium severity — update LibreChat to 0.8.8 or later on your normal schedule.

What to do

  1. Update LibreChat to version 0.8.8 or later. Versions before 0.8.8 are affected.
  2. Until it is patched, restrict network access to LibreChat and review which accounts can log in to it.
  3. Block outbound requests from the server to internal ranges and metadata addresses.

Affected and fixed versions

ProductAffectedFixed in
LibreChat< 0.8.80.8.8

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on confidentiality is rated high. A successful attack can affect components beyond the vulnerable one.

CVSS 3.1 metrics for CVE-2026-54031
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityHighSuccess depends on conditions outside the attacker's control.
Privileges requiredLowThe attacker needs an ordinary low-privileged account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Weakness: Server-Side Request Forgery

An attacker can make the server send requests on their behalf, reaching internal services or cloud metadata endpoints.

Classified as CWE-918.

Description

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.

Advisory text as published in the NVD record.

View on NVD