CVE Catalog

CVE-2026-42449

HighCVSS 8.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.21%

11th percentile - higher than 11% of all known CVEs

Summary

n8n-MCP versions 2.47.4 through 2.47.13 have an incomplete URL validator in SSRFProtection.validateUrlSync() that lacks IPv6 checks. IPv4-mapped IPv6 addresses such as http://[::ffff:169.254.169.254] bypass cloud-metadata, localhost, and private-IP range checks, allowing an attacker to make the server issue requests to sensitive targets and return responses plus the x-n8n-api-key header. The issue is fixed in version 2.47.14.

Risk Assessment

An attacker could reach cloud metadata, local services, and private networks and capture the n8n API key, potentially leading to privilege escalation and data leakage. The risk applies to deployments embedding n8n-mcp as an SDK with user-supplied InstanceContext.

Recommendation

Upgrade n8n-MCP to version 2.47.14 or later. As a workaround, validate URLs before passing them to the SDK, restrict egress at the network layer, and reject user-controlled n8nApiUrl values.

Other vulnerabilities in n8n-MCP

See all
Original NVD description (English source)

n8n-MCP is an MCP server that provides AI assistants access to n8n node documentation, properties, and operations. In versions 2.47.4 through 2.47.13, the SDK embedder path (N8NDocumentationMCPServer constructor, getN8nApiClient(), and validateInstanceContext()), the synchronous URL validator in SSRFProtection.validateUrlSync() had no IPv6 checks. IPv4-mapped IPv6 addresses such as http://[::ffff:169.254.169.254] bypassed the cloud-metadata, localhost, and private-IP range checks. An attacker able to supply an n8nApiUrl value could cause the server to issue HTTP requests to cloud metadata endpoints, RFC1918 private networks, or localhost services. Response bodies are returned to the caller (non-blind SSRF), and the n8nApiKey is forwarded in the x-n8n-api-key header to the attacker-controlled target. Projects with deployments embedding n8n-mcp as an SDK using N8NDocumentationMCPServer or N8NMCPEngine with user-supplied InstanceContext are affected. The first-party HTTP server deployment was not primarily affected — it has a second async validator (validateWebhookUrl) that catches IPv6 addresses. This issue has been fixed in version 2.47.14. If users are unable to upgrade immediately as a workaround they can validate URLs before passing to the SDK, restrict egress at the network layer, and reject user-controlled n8nApiUrl values.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS