Skip to main content

mcp-server-fetch CVE-2026-104120

| EUVDEUVD-2026-91161 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-10-02 VulDB GHSA-v78q-44mm-wf7q
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed MCP Fetch Tool
  2. Exploit
    Submit crafted url/path to fetch_url
  3. Execution
    Server issues request to internal/metadata endpoint
  4. Impact
    Exfiltrate internal response data

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 that the mcp-server-fetch (or mcp-server-everything) Fetch Tool be deployed and reachable with an attacker-influenceable url/path argument to fetch_url - in practice this means an MCP client/agent that forwards untrusted URLs (directly or via prompt injection) to the tool. In the vulnerable default configuration there is no destination validation, so no special feature toggle is needed to exploit it. The pending patch introduces an opt-out environment variable FETCH_ALLOW_PRIVATE_IPS=1/true that re-enables access to private ranges, meaning a patched-but-misconfigured server with that flag set would remain exploitable. The limiting factor is reachability: these are reference MCP servers often run locally alongside an AI assistant, so real exposure depends on whether the tool interface and its URL argument are accessible to an attacker rather than isolated to a single trusted user.

Impact

This is a genuine but moderate-severity server-side request forgery (CWE-918) in the reference MCP Fetch Tool, not an inflated high-CVSS issue. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated trigger, but the impact metrics are deliberately modest (VC:L/VI:L/VA:L, no subsequent-system impact SC:N/SI:N/SA:N), yielding a medium score of 6.9. The exploit-maturity flag E:P (Proof-of-Concept) is consistent with the intelligence that a public POC exists. There is NO CISA KEV listing and NO EPSS score provided, so there is no evidence of active, widespread exploitation - exploitation status is limited to publicly available exploit code. A notable conflict exists in the source data: the intelligence summary states 'Patch: Available from vendor,' yet the CVE description explicitly says 'the pull request to fix this issue awaits acceptance,' and the patch reference (PR #4890) is a pending/unmerged pull request rather than a released fix - verify remediation availability before assuming a patched version exists. Realistically, prioritization is medium: the vulnerability is easy to trigger where the Fetch Tool accepts attacker-influenced URLs (including via LLM prompt injection), and the patch diff confirms the practical danger is reaching cloud metadata endpoints (169.254.169.254, 100.100.100.100) and internal/private hosts, but the capped impact and absence of KEV/EPSS signals keep this below critical urgency.

Exploit ScenarioDerived

An attacker supplies a crafted URL (e.g. http://169.254.169.254/latest/meta-data/ or an internal host) to the Fetch Tool's fetch_url function, which the unpatched server resolves and requests without validating the destination. The server returns internal/cloud-metadata responses to the attacker, potentially exposing credentials or reaching otherwise-unreachable internal services. A public proof-of-concept exists, and the pending patch confirms the target set by adding blocks for private, loopback, link-local, reserved, and metadata IP ranges.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 02, 2026

Server-side request forgery in the Model Context Protocol reference Fetch Tool (mcp-server-fetch, and the related mcp-server-everything) up to 2026.6.4 lets unauthenticated remote callers direct the fetch_url function at internal or otherwise restricted destinations by supplying a crafted url/path argument, with no destination validation in the default configuration. Impact is bounded but real: the assessed vector rates confidentiality and integrity impact as low with no availability impact, and the primary abuse case is reaching loopback services, private RFC1918 ranges, and cloud instance metadata endpoints (for example 169.254.169.254 and 100.100.100.100) from the server's network position rather than executing code. Publicly available exploit code exists (a public GitHub issue plus a VulDB entry) and the CVSS 4.0 vector carries an E:P proof-of-concept maturity flag, but there is no confirmed active exploitation (no CISA KEV listing); exposure depends on whether the Fetch Tool and its URL argument are reachable by an attacker, since these are reference servers frequently run locally beside an AI assistant.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed. The vendor-side fix is GitHub pull request https://github.com/modelcontextprotocol/servers/pull/4890 to src/fetch/src/mcp_server_fetch/server.py, which the CVE text states is still awaiting acceptance, so no tagged release version can be cited as patched - confirm your installed version against the merged PR before assuming remediation. If you cannot patch immediately, the highest-value compensating controls are network-level: run the fetch/everything server in a sandboxed container or network namespace with no route to loopback, RFC1918 ranges, link-local 169.254.0.0/16, and cloud metadata addresses such as 169.254.169.254 and 100.100.100.100, and enforce egress filtering or an allowlist proxy (the trade-off is that legitimate internal-document fetches will break and users will need to request additions to the allowlist). Also avoid passing untrusted or model-generated URLs into fetch_url without human confirmation, and treat prompt-injection paths into the tool as attacker-controlled input. Critically, once the patch is applied do NOT set FETCH_ALLOW_PRIVATE_IPS=1 or true, because that opt-out re-enables access to private and restricted ranges and reinstates the SSRF exposure. Refer to the disclosure thread at https://github.com/modelcontextprotocol/servers/issues/4492 and the VulDB advisory at https://vuldb.com/vuln/412764 for updates on the merged fix.

Affected VersionsENISA

mcp-server-everything 2026.6.0
mcp-server-fetch 2026.6.2
mcp-server-fetch 2026.6.0
mcp-server-fetch 2026.6.1
mcp-server-everything 2026.6.1
mcp-server-everything 2026.6.3
mcp-server-fetch 2026.6.3
mcp-server-everything 2026.6.4
mcp-server-fetch 2026.6.4
mcp-server-everything 2026.6.2

Affected Packages

euvd mcp_server_everything no fix
euvd mcp_server_fetch no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the official Model Context Protocol (MCP) reference "fetch" server, a Python service built on httpx that exposes a fetch_url tool to MCP clients (AI agents and assistants) so they can retrieve and convert web content. The root cause is CWE-918: the fetch_url handler in mcp_server_fetch/server.py passes a caller-supplied URL directly into httpx.AsyncClient (including through any configured proxy) without resolving and validating the destination host, so a URL pointing at 127.0.0.1, RFC1918 space, link-local/link-local metadata addresses, or other reserved/loopback/unspecified ranges is fetched with the server's own network privileges. Because MCP tools are typically driven by model-generated arguments, an attacker can trigger this either directly or indirectly through prompt injection that causes the agent to fetch an attacker-chosen URL, turning the local server into an SSRF proxy against internal networks and cloud metadata services. The pending upstream fix (PR 4890) adds an is_private_or_restricted_host() helper built on ipaddress and socket.getaddrinfo that rejects loopback, private, link-local, reserved, multicast, unspecified, IPv4-mapped IPv6 and hard-coded metadata addresses (169.254.169.254, 100.100.100.100, plus localhost/0.0.0.0/*.local), enforces it both at URL parse time and via an httpx request event hook, and honours an FETCH_ALLOW_PRIVATE_IPS opt-out environment variable. Note that a server patched but misconfigured with FETCH_ALLOW_PRIVATE_IPS=1/true would remain exploitable, and the helper's DNS-resolution check is subject to TOCTOU/rebinding-style races on unpatched or loosely configured deployments.

Know when Mcp Server Fetch gets its next vulnerability

  • 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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 6.5 MEDIUM

Network-reachable, low-complexity SSRF with no authentication (PR:N) or interaction; limited confidentiality and integrity impact from reaching internal/metadata services, no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Oct 02, 2026 - 03:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Oct 02, 2026 - 02:15 cve.org
MEDIUM 6.9

DescriptionCVE.org

A security vulnerability has been detected in modelcontextprotocol mcp-server-fetch and mcp-server-everything up to 2026.6.4. Affected is the function fetch_url of the file mcp_server_fetch/server.py of the component Fetch Tool. The manipulation of the argument url/path leads to server-side request forgery. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
popular reference MCP server library, growing but not universal adoption
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy