CVE-2026-54031
published medium CVSS 3.1 · 6.3LibreChat: MCP OAuth requests can follow redirects to internal URLs after SSRF validation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LibreChat-AI | — | LibreChat< 0.8.8 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LibreChat-AI | LibreChat | < 0.8.8 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery
References
5- https://github.com/LibreChat-AI/LibreChat/commit/4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67
- https://github.com/LibreChat-AI/LibreChat/pull/16514
- https://github.com/LibreChat-AI/LibreChat/releases/tag/v0.8.8
- https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj
- https://www.librechat.ai/changelog/v0.8.8
Provider assertions
2GitHub_M · cna
LibreChat: MCP OAuth requests can follow redirects to internal URLs after SSRF validation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d199c5c8fca2a4368e9ca7a61ede6955a5adc7024387fa4ba2288dae7eb1d852
- Ingested
- 25 Nov 2026, 04:42:44 UTC
- Source record
- Official CVE record