CVE-2026-86073 n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
MediumCVSS 5.9
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 2.37.7; = 2.38.0 | 2.37.7 | Fixed |
| npm n8n(npm) | < 2.37.7; >= 2.38.0, < 2.38.1 | 2.37.7, 2.38.1 | Fixed |
| n8n-io n8n | = < 2.37.7; = >= 2.38.0, < 2.38.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n-io n8n | = < 2.37.7 | No fix listed |
| n8n-io n8n | = >= 2.38.0, < 2.38.1 | No fix listed |
| npm n8n(npm) | >= 2.38.0, < 2.38.1 | 2.38.1 |
| npm n8n(npm) | < 2.37.7 | 2.37.7 |
| n8n | < 2.37.7 | 2.37.7 |
| n8n | = 2.38.0 | No fix listed |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-cw9w-vv67-hf73 mitigation vendor-advisory
- https://github.com/n8n-io/n8n/pull/37122 issue-tracking patch
- https://github.com/n8n-io/n8n/pull/37588 issue-tracking patch
- https://github.com/n8n-io/n8n/commit/18458482861097a26f874f30ad7e8136e268475c patch
- https://github.com/n8n-io/n8n/commit/380788fd9a3264c83161e868026a98731d274d88 patch
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 release-notes
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.1 release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-73162 third-party-advisory