Server-side Request Forgery (SSRF) Affecting n8n-mcp package, versions <2.47.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (8th 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-N8NMCP-15954294
  • published9 Apr 2026
  • disclosed8 Apr 2026
  • credityiğit ibrahim

Introduced: 8 Apr 2026

NewCVE-2026-39974  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade n8n-mcp to version 2.47.4 or higher.

Overview

n8n-mcp is an Integration between n8n workflow automation and Model Context Protocol (MCP)

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the instance-URL header in multi-tenant HTTP mode. An authenticated attacker can cause the server to issue HTTP requests to arbitrary URLs and read the response bodies by supplying crafted headers. This may allow access to internal network services, cloud metadata endpoints, or any host reachable by the server process.

Note: This is only exploitable if multi-tenant HTTP mode is enabled and the attacker possesses a valid authentication token.

Workaround

This vulnerability can be mitigated by implementing egress filtering at the network layer to block outbound traffic to internal ranges, disabling multi-tenant headers if not required, and restricting distribution of authentication tokens to trusted operators.

CVSS Base Scores

version 4.0
version 3.1