GHSA-hh89-3r9w-qj3j: n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
- Identifiers
- CVE-2026-86075GHSA-hh89-3r9w-qj3j
- Published
- Record updated
- Affected
- n8n < 2.37.7, fixed in 2.37.7, released September 2, 2026, 8 days before disclosure
- n8n >= 2.38.0, < 2.38.2, fixed in 2.38.2, released September 2, 2026, 8 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.6%
Summary
The n8n OAuth Dynamic Client Registration endpoints checked field sizes only for `redirect_uris`, leaving `client_name` and `grant_types` bounded by presence checks alone. An unauthenticated remote caller could submit arbitrarily large values in either field, and they were persisted to the database, so repeated registrations grew persistent storage without limit.
Mitigation
Fixed in n8n versions 2.37.7 and 2.38.2; upgrade to one of these or later. The patch caps `client_name` at its column length and limits `grant_types` to the grant types the server implements. Temporary workarounds: restrict network access to trusted clients, place the instance behind a reverse proxy enforcing request body size limits below the default 16 MiB, and monitor database growth and audit the `oauth_clients` table. The source states these workarounds do not fully remediate the risk.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- n8nnpmDeclares an LLM dependency
Related items
- LowCloakFEM: Agentic FEM Code Generation for Red-Teaming Computational Resource ExhaustionSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- MediumThe Rise of LLMJacking: How Threat Actors Monetize Compromised Cloud and Model ResourcesSimilar attack · Google Threat Intelligence
- InfoThe Blind Spots of Detection: Adversarial Perturbation Attacks against Watchdogs in Distributed LLM InferenceSimilar attack · Arxiv (cs.CR + cs.CL + cs.LG)
- HighCVE-2026-118761: Kubeflow Pipelines decompression bomb in pipeline archive uploadSimilar attack · NVD/CVE Database
- LowOpenCode User Hit with Hostile Backlash After Reporting Free AI LoopholeSimilar attack · Socket Blog