CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-86075

CVE-2026-86075: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint in n8n

Alon Barad
Alon Barad
Software Engineer

Sep 10, 2026·5 min read·45 visits

Executive Summary (TL;DR)

An unauthenticated remote attacker can cause a complete Denial of Service (DoS) of the n8n platform by submitting excessively large registration payloads containing bloated client_name and grant_types fields, which exhausts backend persistent storage.

In vulnerable configurations of n8n, the OAuth Dynamic Client Registration endpoint implements field size validation for redirect_uris but fails to enforce proper limits on client_name and grant_types. This allows an unauthenticated remote attacker to submit arbitrarily large values for these fields, leading to persistent database and disk storage exhaustion.

Vulnerability Overview

The OAuth Dynamic Client Registration service in n8n provides a mechanism for client applications to dynamically register with the built-in OAuth 2.0 server. This endpoint is designed to receive external payloads containing client metadata, such as redirection URIs, client names, and desired grant types. By design, Dynamic Client Registration endpoints are exposed publicly without requiring pre-existing authentication, representing a high-exposure attack surface.

In vulnerable configurations, n8n fails to adequately restrict the size and boundaries of registration parameters. While certain critical security fields, like redirection URIs, undergo format and structure validation, secondary properties do not. This exposes the backend to arbitrary data injection.

The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling). This security issue allows unauthenticated remote attackers to send excessively large payloads to the platform. By repeatedly calling the registration service, attackers can exhaust the server storage and crash the service.

Root Cause Analysis

The root cause of CVE-2026-86075 lies within the handling of registration parameters in packages/cli/src/modules/oauth-server/oauth-server.service.ts. Specifically, during the parsing of dynamic client registration requests, the service does not enforce length constraints on the client_name string or the number of items within the grant_types array.

When a client application submits a dynamic registration request, the service extracts the metadata fields and passes them to the database layer. Because the backend validation only checks for the existence of required fields rather than their maximum permissible lengths, extremely long character strings are accepted without truncation or rejection.

The input data is subsequently persisted directly into the oauth_clients table of the underlying database system, such as SQLite, PostgreSQL, or MySQL. Since there are no throttles, rate limits, or physical payload restrictions on this registration path, an attacker can transmit multi-megabyte payloads in a continuous loop, causing rapid table inflation and eventual storage exhaustion.

Code Analysis

The vulnerable implementation processes dynamic client registration parameters directly without applying validation checks on the payload sizes of client_name and grant_types. The following conceptual diagram represents the flow of input processing prior to database serialization:

In the vulnerable version, the incoming registration service receives raw input. The following code demonstrates the lack of length checks on fields prior to saving the client metadata:

// VULNERABLE CODE
async registerClient(registrationPayload: RegisterClientDto) {
  // Only redirect_uris format is strictly verified
  this.validateRedirectUris(registrationPayload.redirect_uris);
 
  // client_name and grant_types are saved without length constraints
  const newClient = this.oauthClientRepository.create({
    name: registrationPayload.client_name,
    grantTypes: registrationPayload.grant_types,
    redirectUris: registrationPayload.redirect_uris,
  });
 
  return await this.oauthClientRepository.save(newClient);
}

To resolve this issue, the patch enforces strict length limitations. The constants MAX_CLIENT_NAME_LENGTH and maximum element counts on grant_types have been integrated to validate the boundaries of incoming metadata properties:

// PATCHED CODE
import { MAX_CLIENT_NAME_LENGTH, MAX_GRANT_TYPES } from './constants';
 
async registerClient(registrationPayload: RegisterClientDto) {
  this.validateRedirectUris(registrationPayload.redirect_uris);
 
  // Added boundary validation for client_name length
  if (registrationPayload.client_name && registrationPayload.client_name.length > MAX_CLIENT_NAME_LENGTH) {
    throw new BadRequestError('Client name exceeds maximum allowed length');
  }
 
  // Added boundary validation for grant_types elements
  if (registrationPayload.grant_types && registrationPayload.grant_types.length > MAX_GRANT_TYPES) {
    throw new BadRequestError('Too many grant types provided');
  }
 
  const newClient = this.oauthClientRepository.create({
    name: registrationPayload.client_name,
    grantTypes: registrationPayload.grant_types,
    redirectUris: registrationPayload.redirect_uris,
  });
 
  return await this.oauthClientRepository.save(newClient);
}

Exploitation Methodology

Exploitation of CVE-2026-86075 requires network-level access to the exposed OAuth client registration endpoint of an n8n instance. Because the endpoint complies with dynamic registration specifications, it does not require prior authentication or API tokens.

An attacker can execute a denial of service attack by constructing automated scripts to send high volumes of HTTP POST requests containing oversized parameter payloads. By generating large blocks of repetitive characters inside the client_name attribute and specifying nested objects or arrays within grant_types, the size of each request can be increased to several megabytes.

As n8n receives these requests, it serializes each entry into the physical database. Over multiple parallel connections, this continuous influx of large records rapidly consumes available disk space, leading to write failures, application slowdowns, and ultimately an unrecoverable system crash.

Impact Assessment

The security impact of CVE-2026-86075 is classified as High with a CVSS v4.0 base score of 8.7. The primary threat is directed at system availability. Complete exhaustion of persistent storage prevents n8n from logging executions, storing session states, or running scheduled workflows.

Because n8n relies on database storage to track state transitions and save historical logs, database write locks or disk space exhaustion will freeze all running workflows. In enterprise environments where n8n coordinates critical business automation, this results in extensive operational downtime.

The confidentiality and integrity of existing data are not directly compromised by this vulnerability. However, the resulting service outage requires manual administrative intervention, such as clearing the affected database records or resizing the physical storage volumes, to restore system functionality.

Remediation & Mitigation Guidance

The recommended remediation for this vulnerability is to upgrade the n8n application to a patched version immediately. For deployments on the 2.37.x branch, users must upgrade to version 2.37.7 or later. For deployments on the 2.38.x branch, users must upgrade to version 2.38.2 or later.

In environments where immediate upgrading is not possible, organizations should implement temporary mitigations at the network layer. Administrators can configure a Web Application Firewall (WAF) or reverse proxy to enforce a strict body size limit (e.g., maximum 10KB) on requests targeting the /oauth/register or similar OAuth endpoints.

Additionally, rate-limiting rules should be applied on these registration endpoints. Limiting the number of client registrations permitted per source IP address over a given time window can prevent automated storage-bloat attempts from causing system-wide service disruption.

Technical Appendix

CVSS Score
8.7/ 10
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
EPSS Probability
0.29%
Top 78% most exploited

Affected Systems

n8n Workflow Automation Platform

Affected Versions Detail

Product
Affected Versions
Fixed Version
n8n
n8n
< 2.37.72.37.7
n8n
n8n
>= 2.38.0, < 2.38.22.38.2
AttributeDetail
CWE IDCWE-770
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
CVSS v4.08.7 (High)
Exploit StatusNone
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1499Endpoint Denial of Service
Impact
CWE-770
Allocation of Resources Without Limits or Throttling

The product allocates memory, CPU, packet buffer, space on disk, or some other resource based on an untrusted, unthrottled input, but it does not limit or throttle the resource allocation, allowing an attacker to cause a denial of service.

References & Sources

  • [1]GitHub Security Advisory GHSA-hh89-3r9w-qj3j
  • [2]NVD - CVE-2026-86075
  • [3]n8n Release v2.37.7
  • [4]n8n Release v2.38.2

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•1 day ago•CVE-2026-107844
5.3

CVE-2026-107844: Path Traversal Vulnerability in Contao ImagesController

A path traversal vulnerability (CWE-22) in Contao CMS allows unauthenticated remote attackers to bypass directory boundary restrictions in ImagesController and access files within the project directory.

Amit Schendel
Amit Schendel
8 views•5 min read
•1 day ago•CVE-2026-107848
3.5

CVE-2026-107848: Cross-Site Request Forgery (CSRF) in Contao Backend Actions via GET Requests

Contao Open Source CMS versions 4.0.0 through 5.3.49 and 5.4.0-RC1 through 5.7.11 contain a Cross-Site Request Forgery (CSRF) vulnerability in backend parameter handling. The `RequestTokenListener` component validates anti-CSRF tokens solely for HTTP POST requests, while GET-based declarative guards run only when an `act` parameter is present in the query string. Consequently, custom backend actions dispatched via alternative parameters such as `key=` can execute without CSRF token verification when triggered by an authenticated user.

Amit Schendel
Amit Schendel
7 views•5 min read
•1 day ago•CVE-2026-107843
5.3

CVE-2026-107843: Unthrottled Activation Email Resend and Account Enumeration in Contao CMS

Contao CMS versions 4.1.0 through 5.3.49 and 5.4.0-RC1 through 5.7.11 fail to validate form submission tokens and enforce rate limiting when processing activation email resend requests via HTTP POST, enabling resource exhaustion and account state enumeration.

Amit Schendel
Amit Schendel
8 views•4 min read
•1 day ago•CVE-2026-107842
5.3

CVE-2026-107842: Information Disclosure via Stale Indexing in Contao Search Module

An information disclosure vulnerability in Contao CMS allows unauthenticated site visitors to view protected page titles, URLs, and text excerpts through search queries when protected page indexing is disabled after previously being enabled.

Amit Schendel
Amit Schendel
10 views•4 min read
•1 day ago•GHSA-G38J-7V97-X298
6.5

GHSA-G38J-7V97-X298: Missing Authorization Check in Vikunja CalDAV Task Relation Creation

In Vikunja prior to version 2.6.0, relation creation via the CalDAV endpoint fails to invoke the TaskRelation.CanCreate authorization check. This missing access control allows an authenticated user to establish unauthorized relationships and perform write operations against any task, provided its unique identifier (UID) is known.

Alon Barad
Alon Barad
12 views•5 min read
•1 day ago•GHSA-3HC7-R24J-RPWC
6.8

GHSA-3hc7-r24j-rpwc: Cross-Project Task Disclosure via Subtask Expansion in Vikunja

A cross-project information disclosure vulnerability in Vikunja allows authenticated users with read access to one project to view private task details from unauthorized projects via subtask expansion parameters.

Alon Barad
Alon Barad
9 views•5 min read