Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate and point MCP OAuth at attacker host
-
DeliveryServer initiates OAuth discovery/token request
-
ExploitAttacker returns 302/307 to internal URL
-
ExecutionRedirect-following fetch hits unvalidated internal target
-
ImpactInternal service or cloud metadata response returned
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated LibreChat user who can cause the server to initiate MCP OAuth (discovery, dynamic client registration, token, refresh, or revocation) against an attacker-controlled endpoint - the direct route being POST /api/mcp/servers, gated by MCP_SERVERS.USE and MCP_SERVERS.CREATE. The flaw is specifically in packages/api/src/mcp/oauth/handler.ts createOAuthFetch, which validates only the initial destination and then uses redirect-following fetch without revalidating each redirect target. LIMITING FACTORS: per the advisory, MCP_SERVERS.CREATE defaults to false for the regular USER role (true for admins), so by default only admins or deployments that explicitly enable user MCP-server creation are exposed; CVSS PR:L confirms authentication is required; only the MCP OAuth path is affected, as the separate MCP transport path already performs manual redirect validation; and only versions prior to 0.8.8 are vulnerable. |
| Impact | This is a genuine but moderate-priority issue, and the signals are internally consistent rather than conflicting. The published CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N, 6.3) matches the mechanism: a network-reachable, authenticated (PR:L) actor abuses redirect-following fetch to pivot into internal services, producing a scope change (S:C) and confidentiality impact (C:H) with no integrity or availability effect. The GitHub Security Advisory (GHSA-f7xq-83jc-cgrj) and the maintainer audit both independently assess severity as 'medium', agreeing with NVD. The vuln.today decision label is 'this_month' - not act_now or emergency - which aligns with a real-but-not-urgent SSRF. No EPSS score and no KEV listing were supplied, and there is no indication of active exploitation; exploitation status here is 'no public exploit identified' as a weaponized end-to-end attack, though a public PoC reference does exist (see below). The main caveat is reachability: exploitation depends on an authenticated user being able to initiate MCP OAuth against an attacker-controlled endpoint, and the advisory notes MCP_SERVERS.CREATE defaults to false for the regular USER role (true for admins), so in default deployments the practical attack surface is narrower than the raw AV:N would imply. Treat this as a prioritized patch, not a drop-everything emergency, consistent with the 'this_month' decision label. |
| Exploit ScenarioDerived | An authenticated LibreChat user (or an admin-enabled user) configures or triggers an MCP server whose OAuth discovery/token endpoint points at an attacker-controlled host. That host returns an HTTP 302/307 redirect to an internal address (e.g., a loopback admin service or a cloud metadata endpoint); because the MCP OAuth fetch wrapper validates only the initial URL and then follows redirects without revalidating each hop, the LibreChat server issues the request to the internal target and the internal response is surfaced back. A public proof-of-concept script accompanying the advisory demonstrates the redirect primitive locally, but it is not verified as a working end-to-end application exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Server-side request forgery in LibreChat prior to 0.8.8 lets an authenticated user who can drive MCP OAuth flows redirect LibreChat server-side requests to internal or private addresses. The OAuth fetch wrapper (packages/api/src/mcp/oauth/handler.ts createOAuthFetch) validated only the initial destination, then used redirect-following fetch behavior, so an attacker-controlled OAuth/MCP endpoint could answer with a 302/307 pointing at loopback, private-range or cloud-metadata services that the initial SSRF check would have blocked; affected steps include discovery, dynamic client registration, token exchange, refresh and revocation, while the separate MCP transport path already performed manual redirect validation and is not affected. Impact is confidential-read oriented (internal network probing, metadata or internal admin panel access, and possible leakage of configured OAuth headers or client credentials where fetch preserves method, body and headers on redirects); integrity and availability are not assessed as impacted, and no KEV entry or confirmed active exploitation exists, though the upstream advisory contains a local proof-of-concept script demonstrating the redirect primitive which is not verified as working end-to-end exploit code. Exposure is constrained because MCP_SERVERS.CREATE defaults to false for the regular USER role and true for admins, authentication is required (CVSS PR:L), and only versions before 0.8.8 are vulnerable; priority is this-month rather than immediate.
RemediationAI
Vendor-released patch: 0.8.8. Upgrade LibreChat to 0.8.8 or later, which contains commit 4d33d8c2c71ad497fdfaa2c4334b0a2293bcbd67 (PR #16514) and makes the MCP OAuth fetch reject redirects (redirect: 'error') while adding pre-request isSSRFTarget checks for IPv6 literals, alternate IPv4 spellings and port-cached dispatchers; verify the running image actually derives from the v0.8.8 tag, because the advisory explicitly states that source-release containment does not certify stale or third-party container images, so rebuilding from the patched source is required rather than trusting a tag name alone. If upgrading immediately is not possible, reduce exposure by keeping MCP_SERVERS.CREATE disabled for the regular USER role (its default) and granting it only to trusted admins, with the trade-off that non-admin users cannot register their own MCP servers; where MCP is not in use, disable MCP_SERVERS.USE entirely, with the trade-off that all MCP server functionality becomes unavailable; and constrain egress from the LibreChat host so that loopback, private-range and link-local metadata addresses (for example 169.254.169.254) are unreachable, with the trade-off that any legitimate internal MCP or OAuth endpoint on those ranges will also break and must be explicitly allowlisted. Also review existing configured and shared MCP OAuth servers for untrusted registrations, since the same OAuth path is used once a user starts OAuth against an already-configured server. Patch status detail and advisory: https://github.com/LibreChat-AI/LibreChat/security/advisories/GHSA-f7xq-83jc-cgrj and https://www.librechat.ai/changelog/v0.8.8.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LibreChat's MCP client implements the OAuth discovery chain used to talk to remote MCP servers: protected resource metadata discovery (RFC 9728-style well-known probing), authorization server metadata discovery (RFC 8414), dynamic client registration (RFC 7591), authorization code exchange, refresh token exchange and token revocation. The OAuth helper createOAuthFetch injected OAuth headers and then called the global Node.js/undici fetch(), which by default follows HTTP redirects transparently and does not route the connection through an SSRF-safe undici dispatcher. Validation therefore happened once, before the request, against the original URL, while the redirect target is chosen by the remote server at request time and was never revalidated - the classic CWE-918 redirect-time bypass. The contrast is explicit in the codebase: the MCP transport path (packages/api/src/mcp/connection.ts) handles redirects manually, calls resolveHostnameSSRF() on each target, strips sensitive headers on cross-origin redirects and switches to a safe dispatcher, so it is unaffected. The fix commit 4d33d8c2c7 adds isSSRFTarget checks before the fetch runs (covering IPv6 literals such as ::1, alternate IPv4 spellings such as 0x7f000001 normalized to 127.0.0.1, and cached dispatchers keyed by port), avoids applying allowedAddresses exemptions to literal IPs when a domain allowlist is active but unmatched, and sets redirect: 'error' in the hardened OAuth fetch so a redirect from an allowlisted endpoint to a private IP is refused rather than followed; accompanying behaviour tests assert the redirector receives one request and the internal target receives none for both 302 and 307.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Redirect-based SSRF is reliably triggered with a simple 302 (AC:L); it needs an authenticated user to initiate MCP OAuth (PR:L), pivots into internal systems (S:C) and exposes their responses (C:H) without integrity or availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-131854
NVD
CVE.org
EPSS
GitHub
Exploit-DB