CVE-2026-86073: CWE-863: Incorrect Authorization in n8n-io n8n
Description
An incorrect authorization vulnerability (CWE-863) exists in the n8n workflow automation platform prior to versions 2.37.7 and 2.38.1. The OAuth token endpoint did not properly bind refresh tokens to the originally consented resource, allowing an OAuth client authorized for one workflow to obtain a valid token for a different, unapproved workflow by substituting the resource parameter. This issue is fixed in versions 2.37.7 and 2.38.1.
CVSS v4.0
Score 5.9medium
Affected software
n8n-io
n8n
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In n8n versions before 2.37.7 and between 2.38.0 and before 2.38.1, the OAuth token endpoint incorrectly handled refresh tokens by not binding them to the originally consented resource. While the initial access token was correctly bound, the refresh token validation only checked if the requested resource was registered, not if it matched the original grant. This allowed an OAuth client with approval for one workflow to substitute a different workflow URL in the resource parameter during token refresh and obtain a valid token for an unapproved workflow accessible to the consenting user. The vulnerability is classified as CWE-863 (Incorrect Authorization) and has a CVSS 4.0 score of 5.9 (medium severity). The issue is resolved in n8n versions 2.37.7 and 2.38.1.
Potential Impact
An attacker with an OAuth client approved for one workflow could exploit this vulnerability to obtain valid tokens for other workflows that the user has access to but did not explicitly approve for that client. This could lead to unauthorized access to workflows, potentially exposing sensitive automation processes or data. The vulnerability requires user interaction (UI:A) and has a medium impact score.
Mitigation Recommendations
Upgrade n8n to version 2.37.7 or later, or to version 2.38.1 or later, where this authorization issue has been fixed. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-04T19:34:03.100Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa040f6acd9273b49f5b519
Added to database: 09/08/2026, 17:08:06 UTC
Last enriched: 09/16/2026, 02:31:16 UTC
Last updated: 10/24/2026, 03:05:11 UTC
Views: 85
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.