N8n-io n8n
n8n: Unauthenticated Persistent Storage Exhaustion via OAuth Dynamic Client Registration Endpoint
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.37.7
- >= 2.38.0, < 2.38.2
Fixed in 2.37.7, 2.38.2
Mitigation
Upgrade n8n to 2.37.7 or 2.38.2 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.37.7
- Release notes github.com/n8n-io/n8n/releases/tag/n8n@2.38.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.