Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed n8n instance
-
DeliverySend HTTP POST to OAuth client registration endpoint
-
ExploitEmbed oversized client_name/grant_types payload
-
ExecutionRepeat at high rate to accumulate database rows
-
PersistDatabase storage exhausted
-
Impactn8n service unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The OAuth Dynamic Client Registration endpoint must be reachable over the network - this is the default for any n8n deployment that has the OAuth server module enabled (introduced as a feature of the n8n authorization server). No authentication is required; the endpoint is designed to be publicly accessible per the OAuth 2.0 Dynamic Client Registration specification. Exploitation is limited by: (1) network accessibility - n8n instances behind a VPN, private network, or with the OAuth module explicitly disabled are not reachable; (2) any reverse proxy enforcing strict body-size limits reduces per-request payload size, slowing but not preventing exhaustion via volume; (3) the impact is purely availability - no credentials, tokens, or data are exposed. The n8n OAuth server module must be active, which is the case in versions that include it prior to 2.37.7/2.38.2. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VA:H) scores 8.7 and accurately reflects the threat model: network-accessible, zero authentication, no special preconditions, and high availability impact. There is no confidentiality or integrity impact, so the overall risk is narrowly a DoS. EPSS data is not supplied, but the attack is fully automatable and requires no exploit code beyond a crafted HTTP POST, which elevates practical risk beyond what a typical DoS vulnerability represents. No CISA KEV listing and no public POC are indicated at time of analysis, so exploitation has not been confirmed in the wild. The primary real-world concern is internet-exposed n8n instances (common in self-hosted automation environments) where the registration endpoint is reachable without a WAF or request-size limiting proxy in front. Organizations running n8n behind a reverse proxy with body-size limits (e.g., nginx client_max_body_size) may have partial mitigation already in place. The absence of any confidentiality or integrity impact keeps this firmly in the availability-only tier despite the high raw score. |
| Exploit ScenarioDerived | An attacker discovers a publicly accessible n8n instance and sends a high volume of HTTP POST requests to the OAuth Dynamic Client Registration endpoint, each carrying a multi-megabyte client_name string. Because no server-side length validation is enforced before persistence, each request inserts a large row into the oauth_clients table. After thousands of requests - easily automated with a simple script - the database disk partition fills, causing n8n to become unavailable and halting all scheduled and triggered workflows for the organization. No public POC has been identified at time of analysis, but the attack requires no exploit code beyond standard HTTP tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Unvalidated input sizes on the OAuth Dynamic Client Registration endpoint in n8n allow unauthenticated remote attackers to exhaust database storage by repeatedly submitting oversized client_name and grant_types values. Affected versions are all n8n releases prior to 2.37.7 (in the 2.37.x branch) and prior to 2.38.2 (in the 2.38.x branch). Because the endpoint is publicly accessible without authentication and the attack is trivially automatable, a single attacker can render the n8n instance unavailable by filling database disk capacity, taking down all workflow automation for any organization relying on the platform.
RemediationAI
Upgrade to n8n@2.37.7 or n8n@2.38.2, both of which enforce server-side length caps (MAX_CLIENT_NAME_LENGTH and MAX_GRANT_TYPES) in the OAuth Dynamic Client Registration handler. Release notes are available at https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 and https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2. For operators who cannot patch immediately, the most effective compensating control is placing a reverse proxy (nginx, Caddy, HAProxy) in front of n8n and enforcing a strict request body size limit (e.g., nginx: client_max_body_size 1m) - this caps the per-request damage but does not prevent repeated small-but-accumulating registrations. A second compensating control is firewall or network policy restriction of the OAuth client registration endpoint (/oauth/register or equivalent) to trusted IP ranges only, eliminating the unauthenticated exposure entirely. Restricting access to the endpoint is strongly preferred over body-size limiting alone, as it prevents accumulated storage exhaustion from many small requests.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n implements an OAuth 2.0 authorization server module whose Dynamic Client Registration endpoint (per RFC 7591) accepts client metadata including client_name and grant_types. The defect resides in packages/cli/src/modules/oauth-server/oauth-server.service.ts: while redirect_uris was bounded, the MAX_CLIENT_NAME_LENGTH and MAX_GRANT_TYPES constants were either absent or unenforced for those two fields, allowing arbitrarily large payloads to be persisted to the oauth_clients database table. CWE-770 (Allocation of Resources Without Limits or Throttling) precisely characterizes the root cause - the server performs no server-side length cap before writing attacker-controlled data to persistent storage. The attack exploits no memory corruption or logic flaw; it is a pure resource exhaustion primitive via missing input sanitization.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-accessible unauthenticated endpoint; no complexity barrier; impact is availability-only database exhaustion, no C/I impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
The bug is a resource-exhaustion flaw in validating dynamic OAuth client registration input: CWE-770 (Allocation of Resources Without Limits or Throttling).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
n8n workflow automation deployments face critical service disruption risk from unauthenticated remote attackers who can exhaust database capacity and disable all organizational automation processes. The attack is trivial to execute and no patch currently exists, creating immediate business continuity exposure for any organization operating n8n in production.
No vendor-released patch identified at time of analysis. Implement input size validation on the Dynamic Client Registration endpoint to reject oversized payloads; deploy rate limiting targeting this endpoint; restrict access via firewall or WAF to known trusted OAuth client networks; enable real-time database disk usage monitoring with alerts at 80% capacity threshold; configure database garbage collection to purge rejected registration attempts; maintain daily encrypted backups with tested recovery procedures; isolate n8n instance from untrusted networks if external endpoint access is not operationally required.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
EUVD-2026-74281
GHSA-hh89-3r9w-qj3j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB