ZeroHour

CVE-2026-86075

large

Unauthenticated storage-exhaustion DoS in n8n OAuth Dynamic Client Registration

CVSS 4.0
8.7 high
EPSS
<1%p22
Published
()
Modified
AI analysis

n8n, an open source workflow automation platform, fails to length-cap the client_name and grant_types fields in its OAuth Dynamic Client Registration endpoint (redirect_uris is bounded, but MAX_CLIENT_NAME_LENGTH and MAX_GRANT_TYPES validation is ineffective prior to versions 2.37.7 and 2.38.2). An unauthenticated remote caller can repeatedly submit registration requests with arbitrarily large values, which are persisted to the oauth_clients table. By repeating this, the attacker exhausts database storage and causes a denial of service, with high availability impact but no confidentiality or integrity impact. Any self-hosted n8n deployment running an affected version is affected, with risk concentrated in instances whose HTTP endpoint is reachable by unauthenticated callers, such as internet-exposed servers. There is no known exploitation in the wild, no public proof-of-concept, and EPSS puts 30-day exploitation probability at 0.3% (22nd percentile).

What to do: Upgrade n8n to version 2.37.7 or 2.38.2 (or later) to get the corrected length validation. If upgrading is not immediately possible, restrict unauthenticated access to the instance's HTTP endpoint (e.g., firewall, reverse-proxy rules, or VPN) and monitor growth of the oauth_clients table/database storage for signs of abuse. Administrators should check whether oversized client_name or grant_types entries have already accumulated in oauth_clients.

Affected
n8n (workflow automation platform, OAuth server in packages/cli/src/modules/oauth-server/oauth-server.service.ts)all versions prior to 2.37.7, and 2.38 line versions prior to 2.38.2
Estimated exposure
largetens of thousands of exposed instances (10k-100k range) — n8n is one of the most widely adopted self-hosted automation platforms and public internet scans and its large self-hosted user base suggest on the order of tens of thousands of n8n servers exposed to unauthenticated HTTP callers; exact…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
n8n
Products
n8n
Ecosystems
npm
Weakness
CWE-770
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GHSA
GHSA-hh89-3r9w-qj3j (high)

In the news

No ingested article mentions this CVE yet.