Skip to main content

n8n CVE-2026-42236

| EUVDEUVD-2026-27111 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-04-29 https://github.com/n8n-io/n8n GHSA-49m9-pgww-9vq6
8.7
CVSS 4.0 · Vendor: https://github.com/n8n-io/n8n
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify n8n instance via port scan
  2. Delivery
    Send POST to MCP registration endpoint
  3. Exploit
    Submit large JSON client metadata
  4. Execution
    Repeat requests to exhaust memory
  5. Persist
    n8n process crashes or becomes unresponsive
  6. Impact
    Workflow 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n8n 2.17.0, < 2.17.4
n8n < 1.123.32
n8n 2.18.0, < 2.18.1

Affected Packages

npm n8n fix: 1.123.32, 2.17.4, 2.18.1

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

Vendor (https://github.com/n8n-io/n8n) PRIMARY 8.7 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
Patch available
May 04, 2026 - 20:01 EUVD
CVSS changed
May 04, 2026 - 19:22 NVD
8.7 (HIGH)
CVE Published
Apr 29, 2026 - 21:19 nvd
HIGH

DescriptionCVE.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_MAX environment 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 66% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy