High severity · published Sep 8, 2026
CVE-2026-86073
n8n: Per-Resource OAuth Consent Bypass via Unbound Refresh Token Resource Substitution
7.6
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
N8
n8n · n8n-io
< 2.37.7; >= 2.38.0, < 2.38.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-86073
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-86073
Patch
https://github.com/n8n-io/n8n/commit/18458482861097a26f874f30ad7e8136e268475c
Patch
https://github.com/n8n-io/n8n/commit/380788fd9a3264c83161e868026a98731d274d88
Issue Tracking
https://github.com/n8n-io/n8n/pull/37122
Issue Tracking
https://github.com/n8n-io/n8n/pull/37588
Release Notes
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
More from n8n
8.8
CVE-2025-68613
n8n Vulnerable to Remote Code Execution via Expression Injection
10.0
CVE-2026-54309
n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions
10.0
CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
9.9
CVE-2026-85165
n8n before 2.36.2 Expression Sandbox Bypass via SpreadElement
9.9
CVE-2026-72765
n8n before 2.32.1 Remote Code Execution via Expression Sandbox Escape
