CVE-2026-86073
MEDIUM 5.9CVSS 4.0n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
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.
- Published
- 8 Sep 2026
- Last modified
- 11 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-863
- Also known as
- GHSA-cw9w-vv67-hf73
- Sources
- NVDJSONOSV GHSA-cw9w-vv67-hf73JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 2.37.7 | 2.37.7 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.38.0:*:*:*:*:node.js:*:* |
= 2.38.0 | |
| OSV | npm | n8n | >= 2.38.0, < 2.38.1 | 2.38.1 |
| OSV | npm | n8n | < 2.37.7 | 2.37.7 |
References
- https://github.com/n8n-io/n8n/commit/18458482861097a26f874f30ad7e8136e268475c · Patch, WEB
- https://github.com/n8n-io/n8n/commit/380788fd9a3264c83161e868026a98731d274d88 · Patch, WEB
- https://github.com/n8n-io/n8n/pull/37122 · Issue Tracking, WEB
- https://github.com/n8n-io/n8n/pull/37588 · Issue Tracking, WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 · Release Notes, WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.1 · Release Notes, WEB
- https://github.com/n8n-io/n8n/security/advisories/GHSA-cw9w-vv67-hf73 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-86073 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 8 Sep 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Sep 2026)