Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-86073 EUVD-2026-73162GHSA-cw9w-vv67-hf73

n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution

Published Sep 8, 2026 · Updated Sep 9, 2026 · Assigned by GitHub_M

Description

n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.1, the OAuth token endpoint bound an authorization code's first access token to the consented resource but did not bind its refresh token. Refreshing checked only that the requested resource was registered, not that it matched the original grant. An OAuth client approved for one workflow could substitute a different workflow URL in the resource parameter and obtain a valid token for an unapproved workflow accessible to the consenting user. This issue is fixed in versions 2.37.7 and 2.38.1.

Affected products

VendorProductAffectedFixed
n8n-io n8n < 2.37.7, >= 2.38.0, < 2.38.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n >= 2.38.0, < 2.38.1 2.38.1 GHSA-cw9w-vv67-hf73
npm n8n < 2.37.7 2.37.7 GHSA-cw9w-vv67-hf73

References