Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify n8n instance via port scan
-
DeliverySend POST to MCP registration endpoint
-
ExploitSubmit large JSON client metadata
-
ExecutionRepeat requests to exhaust memory
-
Persistn8n process crashes or becomes unresponsive
-
ImpactWorkflow automation unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No special conditions required for exploitation - remote unauthenticated denial of service against default configurations of n8n instances. The vulnerability is exploitable whenever the n8n HTTP server is network-reachable, regardless of whether the Model Context Protocol feature is enabled in instance settings. Attackers need only network connectivity to send HTTP POST requests to the registration endpoint path. No user interaction, authentication, or special client configuration is necessary. The severity is limited by deployment architecture: instances behind restrictive firewalls, VPNs, or authentication proxies have reduced exposure compared to publicly accessible cloud deployments. The default N8N_PAYLOAD_SIZE_MAX setting permits multi-megabyte requests, enabling efficient resource exhaustion. Self-hosted instances with custom reverse proxy configurations that implement payload size limits or rate limiting may have partial protection, but such configurations are non-default. |
| Impact | This vulnerability presents high operational risk for internet-exposed n8n instances despite the absence of CVSS scoring. The unauthenticated remote attack vector requires no special privileges or user interaction, making exploitation trivial - attackers need only send HTTP POST requests with large JSON payloads to the registration endpoint. The lack of authentication is the critical amplifier here: while the impact is limited to availability (no data theft or code execution), the ease of exploitation (scriptable in minutes) and potential for automated scanning make this a realistic target for opportunistic attackers and botnet operators. The MCP feature gate bypass is particularly concerning because administrators who disabled MCP for security reasons remained vulnerable. No EPSS data or KEV listing available, but the low attack complexity suggests this will be exploited if widely scanned. Mitigation effectiveness varies: network restrictions provide strong control for private deployments but are impractical for cloud-hosted instances requiring public access; the N8N_PAYLOAD_SIZE_MAX workaround reduces per-request impact but does not prevent resource exhaustion through volume. Patches are the only complete remediation. |
| Exploit ScenarioDerived | An attacker identifies an internet-accessible n8n instance through Shodan or similar scanning. They script HTTP POST requests to the MCP OAuth client registration endpoint containing large JSON payloads (multi-megabyte client metadata objects), sending hundreds or thousands of requests in rapid succession. Each request allocates server memory to store the client registration data without authentication checks or cleanup. Within minutes, the n8n process exhausts available memory, triggering out-of-memory errors that crash the service or force the operating system to kill the process, rendering workflow automation unavailable to legitimate users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Unauthenticated remote attackers can crash n8n workflow automation instances by flooding the MCP OAuth client registration endpoint with large payloads, exhausting server memory and causing denial of service. The vulnerability affects all n8n instances regardless of whether MCP (Model Context Protocol) access is enabled, as the endpoint lacks authentication and resource controls. Vendor-released patches (1.123.32, 2.17.4, 2.18.1) impose registration limits and disable the endpoint when MCP is turned off. No public exploit identified at time of analysis, though the attack is trivial to execute given the unauthenticated nature of the endpoint.
RemediationAI
Upgrade n8n to version 1.123.32 (for 1.x users), 2.17.4 (for 2.0-2.17.x users), or 2.18.1 (for 2.18.0 users) as documented in GitHub advisory GHSA-49m9-pgww-9vq6 at https://github.com/n8n-io/n8n/security/advisories/GHSA-49m9-pgww-9vq6. The patches implement client registration limits and disable the endpoint when MCP is turned off at the instance level. For environments where immediate patching is not feasible, implement network-level access controls using firewall rules, reverse proxy ACLs, or VPN requirements to restrict the n8n instance to trusted IP ranges - this effectively prevents unauthenticated remote exploitation but breaks legitimate public integrations and webhooks. Alternatively, reduce the N8N_PAYLOAD_SIZE_MAX environment variable from its default (16MB typical) to a lower value like 1MB to limit per-request memory allocation - this reduces but does not eliminate risk since attackers can still exhaust resources through high-volume small requests, and lowering payload limits may break legitimate workflows processing large datasets. Both workarounds have operational trade-offs and should only serve as temporary bridges to patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is a workflow automation tool distributed as an npm package that includes Model Context Protocol (MCP) OAuth capabilities. The vulnerability stems from CWE-770 (Allocation of Resources Without Limits or Throttling) in the MCP client registration endpoint. This endpoint processes OAuth dynamic client registration requests per RFC 7591, but the implementation failed to implement critical security controls: it accepted unauthenticated HTTP requests, lacked rate limiting on registration operations, imposed no upper bound on the number of registered clients, and did not respect the instance-level MCP enable/disable configuration setting. The endpoint stores client metadata in server memory without size constraints, allowing attackers to craft large registration payloads that accumulate until available memory is exhausted. The default payload size limit (N8N_PAYLOAD_SIZE_MAX) exists at the HTTP layer but was insufficient to prevent resource exhaustion through repeated requests.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (https://github.com/n8n-io/n8n) · only source for this CVE.
CVSS VectorVendor: https://github.com/n8n-io/n8n
Lifecycle Timeline
3DescriptionCVE.org
Impact
The MCP OAuth client registration endpoint accepted unauthenticated requests and stored client data without adequate resource controls. An unauthenticated remote attacker could exhaust server memory resources by sending large registration payloads, rendering the n8n instance unavailable. The MCP enable/disable toggle gates MCP access but did not restrict client registrations, meaning the endpoint is reachable regardless of whether MCP access is enabled on the instance.
The patches address the unbound registration with an upper bound of registered clients and disabling creation when MCP is disabled on the instance. Mean to restrict the payload size of requests already exist and can be used to control additional risks.
Patches
The issue has been fixed in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict network access to the n8n instance to prevent requests from untrusted sources.
- Reduce the maximum accepted payload size by lowering the
N8N_PAYLOAD_SIZE_MAXenvironment variable from its default value.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Executive ViewAI
CVE-2026-42236 affects n8n workflow automation platforms, allowing unauthenticated attackers to remotely crash instances through memory exhaustion attacks on the MCP OAuth registration endpoint. Organizations running n8n are at immediate risk of service disruption, as the vulnerable endpoint is exposed by default regardless of MCP configuration, potentially impacting critical automation workflows and business continuity.
Until patching is complete: (1) Implement network access controls (WAF or firewall rules) to restrict unauthenticated POST requests to the MCP OAuth registration endpoint (/api/oauth/mcp/register or equivalent); (2) Deploy resource limits and memory thresholds at the application or container level to fail gracefully under exhaustion; (3) Enable alerting for abnormal memory consumption and process crashes; (4) Consider temporary disabling of MCP features if business operations permit. These controls reduce but do not eliminate risk-vendor patch application is required for complete remediation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-27111
GHSA-49m9-pgww-9vq6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB