Server-side Request Forgery (SSRF) Affecting mcp-fetch-server package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MCPFETCHSERVER-14287685
  • published10 Dec 2025
  • disclosed9 Dec 2025
  • creditTeam off-course (K-Shield.Jr 15th )

Introduced: 9 Dec 2025

NewCVE-2025-65513  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

mcp-fetch-server is an An MCP server offering simple HTTP fetch functionality

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the fetch method, in the is_ip_private() function. An attacker can access internal network resources by sending crafted requests that bypass the intended private IP blocking, which does not perform its expected function.

Workaround

This vulnerability can be mitigated by replacing the is_ip_private(url) to is_ip_private(URL.hostname)

CVSS Base Scores

version 4.0
version 3.1