CVE-2026-39974

n8n-MCP has an Authenticated SSRF via instance-URL header in multi-tenant HTTP mode

Published Apr 9, 2026 CVSS 3.1 · 8.5 High EPSS < 1% KEV · Not listed
Description
n8n-MCP is a Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to n8n node documentation, properties, and operations. Prior to 2.47.4, an authenticated Server-Side Request Forgery in n8n-mcp allows a caller holding a valid AUTH_TOKEN to cause the server to issue HTTP requests to arbitrary URLs supplied through multi-tenant HTTP headers. Response bodies are reflected back through JSON-RPC, so an attacker can read the contents of any URL the server can reach — including cloud instance metadata endpoints (AWS IMDS, GCP, Azure, Alibaba, Oracle), internal network services, and any other host the server process has network access to. The primary at-risk deployments are multi-tenant HTTP installations where more than one operator can present a valid AUTH_TOKEN, or where a token is shared with less-trusted clients. Single-tenant stdio deployments and HTTP deployments without multi-tenant headers are not affected. This vulnerability is fixed in 2.47.4.

Analysis

AI-generated

Technical impact

Authenticated Server‑Side Request Forgery exists in n8n‑MCP versions prior to 2.47.4. An operator holding a valid AUTH_TOKEN can supply an arbitrary URL in a multi‑tenant HTTP header; the server will issue an HTTP request to that URL and return the response body through JSON‑RPC. This flaw allows a threat actor who can obtain a token or share it with less‑trusted clients to read any content the server can reach, including cloud instance metadata endpoints (AWS IMDS, GCP, Azure, Alibaba, Oracle), internal network services, and arbitrary hosts. The vulnerability is classified as CWE‑918 and can lead to significant confidentiality compromises and further exploitation after exposure of credentials or internal topology.

Affected Systems

The vulnerability affects installations of n8n‑MCP up to and including version 2.47.3 that run in multi‑tenant HTTP mode. Deployments that are single‑tenant STDIO or HTTP without the multi‑tenant header are not affected. The issue is resolved in release 2.47.4, where the SSRF vector has been closed.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity. The vulnerability requires authenticated access; thus the attacker must possess or acquire a valid AUTH_TOKEN. Once authenticated, the exploitation path is straightforward: supply a malicious instance‑URL header and read the reflected response. No exploit probability score is provided, and the vulnerability is not listed in CISA’s KEV catalog. The risk remains high for environments that share tokens with less‑trusted parties or have lax token control.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update n8n‑MCP to version 2.47.4 or later
  • If upgrading is not immediately possible, restrict or revoke any shared AUTH_TOKENs and ensure tokens are issued only to trusted operators
  • Disable multi‑tenant HTTP mode or remove the instance‑URL header handling in current deployments

Generated by OpenCVE AI on April 9, 2026 at 18:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4ggg-h7ph-26qr n8n-mcp has authenticated SSRF via instance-URL header in multi-tenant HTTP mode
History
Type Values Removed Values Added
First Time appeared N8n-mcp
N8n-mcp n8n-mcp
CPEs cpe:2.3:a:n8n-mcp:n8n-mcp:*:*:*:*:*:*:*:*
Vendors & Products N8n-mcp
N8n-mcp n8n-mcp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Czlonkowski
Czlonkowski n8n-mcp
Vendors & Products Czlonkowski
Czlonkowski n8n-mcp
Type Values Removed Values Added
Description n8n-MCP is a Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to n8n node documentation, properties, and operations. Prior to 2.47.4, an authenticated Server-Side Request Forgery in n8n-mcp allows a caller holding a valid AUTH_TOKEN to cause the server to issue HTTP requests to arbitrary URLs supplied through multi-tenant HTTP headers. Response bodies are reflected back through JSON-RPC, so an attacker can read the contents of any URL the server can reach — including cloud instance metadata endpoints (AWS IMDS, GCP, Azure, Alibaba, Oracle), internal network services, and any other host the server process has network access to. The primary at-risk deployments are multi-tenant HTTP installations where more than one operator can present a valid AUTH_TOKEN, or where a token is shared with less-trusted clients. Single-tenant stdio deployments and HTTP deployments without multi-tenant headers are not affected. This vulnerability is fixed in 2.47.4.
Title n8n-MCP has an Authenticated SSRF via instance-URL header in multi-tenant HTTP mode
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 13, 2026, 8:09 PM
Reserved
Apr 8, 2026, 12:01 AM
Status
Analyzed
Published
Apr 9, 2026, 5:16 PM
Modified
Oct 26, 2026, 9:10 PM