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.
Published: 2026-09-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

Fri, 11 Sep 2026 23:45:00 +0000

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'}


Wed, 09 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 08 Sep 2026 21:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-09T16:03:52.236Z

Reserved: 2026-09-04T19:34:03.100Z

Link: CVE-2026-86075

cve-icon Vulnrichment

Updated: 2026-09-09T15:51:53.349Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-08T22:19:16.250

Modified: 2026-09-11T18:20:42.783

Link: CVE-2026-86075

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T20:03:06Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling