CVE-2026-54031: LibreChat Server-Side Request Forgery
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
- Update LibreChat to version 0.8.8 or later. Versions before 0.8.8 are affected.
- Until it is patched, restrict network access to LibreChat and review which accounts can log in to it.
- Block outbound requests from the server to internal ranges and metadata addresses.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| LibreChat | < 0.8.8 | 0.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.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | High | Total loss of confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | None | No 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.
References
- Patchhttps://github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67
- Patchhttps://github.com/LibreChat-AI/LibreChat/pull/16514
- Patchhttps://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8
- Patchhttps://www.librechat.ai/changelog/v0.8.8
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj
- Advisoryhttps://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj