CVE-2026-86075

n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint

Published Sep 8, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.2, the OAuth Dynamic Client Registration endpoint bounded redirect_uris but accepted arbitrarily large client_name and grant_types values. An unauthenticated remote caller could repeatedly persist oversized values in oauth_clients and exhaust database storage. The affected validation is in packages/cli/src/modules/oauth-server/oauth-server.service.ts, including MAX_CLIENT_NAME_LENGTH and MAX_GRANT_TYPES. This issue is fixed in versions 2.37.7 and 2.38.2.

Analysis

AI-generated

Technical impact

n8n's OAuth Dynamic Client Registration endpoint does not enforce limits on the client_name and grant_types fields, allowing unauthenticated callers to send arbitrarily large values. The resulting oversized entries are written to the oauth_clients table without truncation, consuming database storage until the database is exhausted and the service becomes unavailable. This reflects a resource exhaustion flaw (CWE-770).

Affected Systems

This issue affects all installations of the n8n workflow automation platform running any version older than 2.37.7 or 2.38.2. The affected component is the OAuth server module located at packages/cli/src/modules/oauth-server/oauth-server.service.ts. Users who rely on n8n's default OAuth client configuration or open registration are at risk.

Risk and Exploitability

With a CVSS score of 8.7, the vulnerability represents a high severity problem. The EPSS score is not available, so the current likelihood of exploitation is uncertain, but the lack of authentication and the nature of the resource exhaustion attack make it plausible for attackers to exploit it remotely over the network. The vulnerability is not listed in the CISA KEV catalog at this time. Applying the vendor’s patch that caps client_name and grant_types length in releases 2.37.7 and 2.38.2 and disabling dynamic client registration until the fix is in place are the recommended mitigations.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to n8n 2.37.7 or later,
  • If the dynamic OAuth client registration feature is not required, disable it by removing the endpoint or configuring your server to reject self‑registration requests.
  • Regularly monitor the size of your database or any log storage and set alerts for unexpected growth.

Generated by OpenCVE AI on September 9, 2026 at 08:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hh89-3r9w-qj3j n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
History
Type Values Removed Values Added
First Time appeared N8n
N8n n8n
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.2, the OAuth Dynamic Client Registration endpoint bounded redirect_uris but accepted arbitrarily large client_name and grant_types values. An unauthenticated remote caller could repeatedly persist oversized values in oauth_clients and exhaust database storage. The affected validation is in packages/cli/src/modules/oauth-server/oauth-server.service.ts, including MAX_CLIENT_NAME_LENGTH and MAX_GRANT_TYPES. This issue is fixed in versions 2.37.7 and 2.38.2.
Title n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
Weaknesses CWE-770
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 9, 2026, 4:03 PM
Reserved
Sep 4, 2026, 7:34 PM
Status
Analyzed
Published
Sep 8, 2026, 10:19 PM
Modified
Sep 11, 2026, 6:20 PM