Vulnerability · Published Sep 8, 2026 · Assigned by GitHub_M
CVE-2026-86073n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
Medium 5.9
In plain English
A medium-severity incorrect authorization in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 2.38.1 | GHSA-cw9w-vv67-hf73 |
| npm | n8n | 2.37.7 | GHSA-cw9w-vv67-hf73 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-cw9w-vv67-hf73 x_refsource_CONFIRM
- https://github.com/n8n-io/n8n/pull/37122 x_refsource_MISC
- https://github.com/n8n-io/n8n/pull/37588 x_refsource_MISC
- https://github.com/n8n-io/n8n/commit/18458482861097a26f874f30ad7e8136e268475c x_refsource_MISC
- https://github.com/n8n-io/n8n/commit/380788fd9a3264c83161e868026a98731d274d88 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 x_refsource_MISC
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.1 x_refsource_MISC