Allocation of Resources Without Limits or Throttling Affecting n8n package, versions *


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-N8N-16353605
  • published3 May 2026
  • disclosed29 Apr 2026
  • creditori-ron

Introduced: 29 Apr 2026

NewCVE-2026-42236  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

n8n is a n8n Workflow Automation Tool

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the MCP OAuth client registration process. An attacker can exhaust server memory resources and render the instance unavailable by sending large unauthenticated registration payloads to the endpoint, which accepts requests regardless of MCP access settings.

Workaround

This vulnerability can be mitigated by restricting network access to the instance to prevent requests from untrusted sources and by reducing the maximum accepted payload size using the N8N_PAYLOAD_SIZE_MAX environment variable.

CVSS Base Scores

version 4.0
version 3.1