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 SDK versions 2.47.4 through 2.47.13. The vulnerability arises because the synchronous URL validator did not properly check IPv6 addresses, allowing IPv4-mapped IPv6 addresses to bypass protections against accessing cloud metadata, localhost, and private IP ranges. An attacker able to control the n8nApiUrl parameter could cause the server to make HTTP requests to internal or cloud metadata endpoints and receive the response, including forwarding the n8nApiKey header to the attacker-controlled target. The issue 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 validation in the synchronous URL validator (SSRFProtection.validateUrlSync). Specifically, IPv4-mapped IPv6 addresses such as http://[::ffff:169.254.169.254] bypass checks designed to block requests to cloud metadata services, localhost, and private IP ranges. This allows an attacker who can supply the n8nApiUrl parameter to induce the server to send HTTP requests to these protected endpoints. The server returns the response body to the attacker and forwards the n8nApiKey in the x-n8n-api-key header, potentially exposing sensitive information. The vulnerability affects projects embedding n8n-mcp as an SDK with user-supplied InstanceContext. The first-party HTTP server deployment is less affected due to an additional asynchronous validator that blocks IPv6 addresses. The vulnerability is resolved in version 2.47.14. Until upgrading, users can mitigate risk by validating URLs before passing them to the SDK, restricting egress traffic at the network layer, and rejecting user-controlled n8nApiUrl values.
Potential Impact
An attacker with the ability to supply the n8nApiUrl parameter can exploit this SSRF vulnerability to make the server issue HTTP requests to internal services such as cloud metadata endpoints, localhost, and private IP ranges. The server returns the response bodies to the attacker, enabling information disclosure (non-blind SSRF). Additionally, the n8nApiKey is forwarded in the x-n8n-api-key header to the attacker-controlled target, which could lead to further unauthorized access or privilege escalation. This vulnerability has a CVSS score of 8.5 (high severity), indicating a significant risk of confidentiality impact and partial integrity impact without availability impact.
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 to ensure they do not point to internal or sensitive endpoints. Additionally, restricting egress network traffic to prevent unauthorized outbound requests and rejecting user-controlled n8nApiUrl values can mitigate exploitation risk. 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 SDK versions 2.47.4 through 2.47.13. The vulnerability arises because the synchronous URL validator did not properly check IPv6 addresses, allowing IPv4-mapped IPv6 addresses to bypass protections against accessing cloud metadata, localhost, and private IP ranges. An attacker able to control the n8nApiUrl parameter could cause the server to make HTTP requests to internal or cloud metadata endpoints and receive the response, including forwarding the n8nApiKey header to the attacker-controlled target. The issue is fixed in version 2.47.14.
CVSS v3.1
Score 8.5high
Affected software
pkg:github/czlonkowski/n8n-mcpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
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 validation in the synchronous URL validator (SSRFProtection.validateUrlSync). Specifically, IPv4-mapped IPv6 addresses such as http://[::ffff:169.254.169.254] bypass checks designed to block requests to cloud metadata services, localhost, and private IP ranges. This allows an attacker who can supply the n8nApiUrl parameter to induce the server to send HTTP requests to these protected endpoints. The server returns the response body to the attacker and forwards the n8nApiKey in the x-n8n-api-key header, potentially exposing sensitive information. The vulnerability affects projects embedding n8n-mcp as an SDK with user-supplied InstanceContext. The first-party HTTP server deployment is less affected due to an additional asynchronous validator that blocks IPv6 addresses. The vulnerability is resolved in version 2.47.14. Until upgrading, users can mitigate risk by validating URLs before passing them to the SDK, restricting egress traffic at the network layer, and rejecting user-controlled n8nApiUrl values.
Potential Impact
An attacker with the ability to supply the n8nApiUrl parameter can exploit this SSRF vulnerability to make the server issue HTTP requests to internal services such as cloud metadata endpoints, localhost, and private IP ranges. The server returns the response bodies to the attacker, enabling information disclosure (non-blind SSRF). Additionally, the n8nApiKey is forwarded in the x-n8n-api-key header to the attacker-controlled target, which could lead to further unauthorized access or privilege escalation. This vulnerability has a CVSS score of 8.5 (high severity), indicating a significant risk of confidentiality impact and partial integrity impact without availability impact.
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 to ensure they do not point to internal or sensitive endpoints. Additionally, restricting egress network traffic to prevent unauthorized outbound requests and rejecting user-controlled n8nApiUrl values can mitigate exploitation risk. 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: 05/07/2026, 21:06:24 UTC
Last enriched: 05/15/2026, 10:59:20 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 194
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.