CVE-2026-42449: CWE-918: Server-Side Request Forgery (SSRF) in czlonkowski n8n-mcp
CVE-2026-42449 is a Server-Side Request Forgery (SSRF) vulnerability in the czlonkowski n8n-mcp product affecting versions 2. 47. 4 through 2. 47. 13. The issue arises because the synchronous URL validator did not properly check IPv6 addresses, allowing IPv4-mapped IPv6 addresses to bypass security checks designed to block access to cloud metadata, localhost, and private IP ranges. An attacker who can supply a malicious n8nApiUrl could cause the server to make HTTP requests to internal or cloud metadata endpoints and receive the response, including forwarding the n8nApiKey in the request header. This vulnerability is fixed in version 2. 47. 14.
AI Analysis
Technical Summary
The n8n-mcp SDK versions 2.47.4 to 2.47.13 contain an SSRF vulnerability due to insufficient IPv6 address validation in the synchronous URL validator (SSRFProtection.validateUrlSync). IPv4-mapped IPv6 addresses such as http://[::ffff:169.254.169.254] bypass checks that block requests to cloud metadata services, localhost, and private IP ranges. This allows attackers controlling the n8nApiUrl parameter to induce the server to make HTTP requests to internal resources and retrieve response bodies, with the n8nApiKey forwarded in the x-n8n-api-key header. The vulnerability affects deployments embedding n8n-mcp as an SDK with user-supplied InstanceContext. The first-party HTTP server deployment is not primarily affected due to an additional asynchronous validator. The issue is resolved in version 2.47.14.
Potential Impact
Successful exploitation allows an attacker to perform SSRF attacks that can access cloud metadata endpoints, internal network services, and localhost resources. The attacker can receive the response content from these requests and also have the n8nApiKey forwarded to the attacker-controlled endpoint, potentially exposing sensitive credentials. This can lead to information disclosure and further compromise of internal systems. The CVSS v3.1 score is 8.5 (high severity) with network attack vector, low attack complexity, requiring low privileges, no user interaction, and impacts confidentiality and integrity.
Mitigation Recommendations
A fixed version 2.47.14 of n8n-mcp is available and should be applied to remediate this vulnerability. If immediate upgrade is not possible, users should validate URLs before passing them to the SDK, restrict egress network traffic to prevent unauthorized outbound requests, and reject user-controlled n8nApiUrl values to prevent exploitation. The first-party HTTP server deployment is less affected due to an additional asynchronous validator but upgrading is still recommended.
CVE-2026-42449: CWE-918: Server-Side Request Forgery (SSRF) in czlonkowski n8n-mcp
Description
CVE-2026-42449 is a Server-Side Request Forgery (SSRF) vulnerability in the czlonkowski n8n-mcp product affecting versions 2. 47. 4 through 2. 47. 13. The issue arises because the synchronous URL validator did not properly check IPv6 addresses, allowing IPv4-mapped IPv6 addresses to bypass security checks designed to block access to cloud metadata, localhost, and private IP ranges. An attacker who can supply a malicious n8nApiUrl could cause the server to make HTTP requests to internal or cloud metadata endpoints and receive the response, including forwarding the n8nApiKey in the request header. This vulnerability is fixed in version 2. 47. 14.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The n8n-mcp SDK versions 2.47.4 to 2.47.13 contain an SSRF vulnerability due to insufficient IPv6 address validation in the synchronous URL validator (SSRFProtection.validateUrlSync). IPv4-mapped IPv6 addresses such as http://[::ffff:169.254.169.254] bypass checks that block requests to cloud metadata services, localhost, and private IP ranges. This allows attackers controlling the n8nApiUrl parameter to induce the server to make HTTP requests to internal resources and retrieve response bodies, with the n8nApiKey forwarded in the x-n8n-api-key header. The vulnerability affects deployments embedding n8n-mcp as an SDK with user-supplied InstanceContext. The first-party HTTP server deployment is not primarily affected due to an additional asynchronous validator. The issue is resolved in version 2.47.14.
Potential Impact
Successful exploitation allows an attacker to perform SSRF attacks that can access cloud metadata endpoints, internal network services, and localhost resources. The attacker can receive the response content from these requests and also have the n8nApiKey forwarded to the attacker-controlled endpoint, potentially exposing sensitive credentials. This can lead to information disclosure and further compromise of internal systems. The CVSS v3.1 score is 8.5 (high severity) with network attack vector, low attack complexity, requiring low privileges, no user interaction, and impacts confidentiality and integrity.
Mitigation Recommendations
A fixed version 2.47.14 of n8n-mcp is available and should be applied to remediate this vulnerability. If immediate upgrade is not possible, users should validate URLs before passing them to the SDK, restrict egress network traffic to prevent unauthorized outbound requests, and reject user-controlled n8nApiUrl values to prevent exploitation. The first-party HTTP server deployment is less affected due to an additional asynchronous validator but upgrading is still recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-27T13:55:58.693Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69fcfed0cbff5d861035f796
Added to database: 5/7/2026, 9:06:24 PM
Last enriched: 5/7/2026, 9:21:24 PM
Last updated: 5/7/2026, 10:26:06 PM
Views: 42
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.