Skip to main content

n8n CVE-2026-86073

| EUVDEUVD-2026-73162 MEDIUM
Incorrect Authorization (CWE-863)
2026-09-08 security-advisories@github.com GHSA-cw9w-vv67-hf73
5.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register OAuth client on n8n instance
  2. Delivery
    Socially engineer target user into OAuth consent for one workflow
  3. Exploit
    Receive refresh token bound only to original workflow
  4. Install
    Craft refresh request substituting victim's other workflow URL
  5. C2
    n8n server validates resource as registered (not consent-matched)
  6. Execute
    Receive valid access token for unapproved workflow
  7. Impact
    Exfiltrate workflow data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires two specific pre-conditions: (1) the attacker must control a registered OAuth client application on the target n8n instance, and (2) a target user must have previously completed the OAuth authorization consent flow, granting that client access to at least one workflow. Given a valid refresh token from step 2, the attacker can freely substitute any other workflow URL accessible to the consenting user in the resource parameter at refresh time. Limiting factors include: the attacker cannot target arbitrary users - only those who have consented to the attacker's specific client; a valid refresh token from that consent grant must be in the attacker's possession; and n8n's OAuth server feature must be enabled with third-party client registrations permitted. The attack does not require any authentication as an n8n user, only control over a registered client application.

Impact

The CVSS 4.0 score of 5.9 with vector AV:N/AC:L/AT:P/PR:N/UI:A accurately captures a constrained but exploitable authorization flaw. AT:P (specific attack conditions present) and UI:A (active user interaction required) reflect the real-world prerequisites: the attacker must already operate a registered OAuth client on the n8n instance, and a target user must have completed the full consent flow for that client. Once those conditions are met, the substitution attack at refresh time is straightforward (AC:L). Confidentiality impact is assessed high (VC:H) because the attacker gains access to workflow data from any workflow accessible to the consenting user. No KEV listing and no public exploit code exist, keeping realistic exploitation risk moderate - only attackers who can register OAuth clients and solicit user consent are positioned to exploit this. EPSS data was not supplied; given the constraint on attacker position, opportunistic mass exploitation is unlikely.

Exploit ScenarioDerived

An attacker registers a malicious OAuth client application on a target n8n instance and persuades a legitimate user to complete the OAuth consent flow granting that client access to a low-sensitivity workflow. Holding the resulting refresh token, the attacker crafts a token refresh request and substitutes a higher-sensitivity workflow URL owned by the same user in the resource parameter. The n8n server, checking only that the resource is registered rather than verifying it matches the original consent, issues a valid access token for the sensitive workflow without any further user interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 08, 2026

Incorrect OAuth refresh token resource binding in n8n prior to 2.37.7 and 2.38.1 allows an attacker controlling a registered OAuth client to obtain valid access tokens for workflows they were never authorized to access. The first access token issued after user consent was correctly bound to the consented workflow resource, but the accompanying refresh token was not - at refresh time n8n only checked that the requested resource was a registered workflow, not that it matched the original consent grant. No public exploit code or CISA KEV listing has been identified at time of analysis; fixes are confirmed in released versions 2.37.7 and 2.38.1.

RemediationAI

Upgrade n8n to version 2.37.7 (2.37.x branch) or 2.38.1 (2.38.x branch), both of which enforce resource parameter binding at refresh token validation time. The fixes were delivered across GitHub PRs #37122 and #37588. If immediate upgrade is not feasible, restrict OAuth client registrations to internally controlled, trusted applications only and audit existing OAuth consent grants, revoking any issued to third-party or untrusted clients via the n8n admin interface. Removing untrusted OAuth client registrations prevents an attacker from acquiring the refresh tokens needed to exploit this flaw. Note that revoking consents disrupts legitimate integrations relying on those clients, so this is a temporary measure pending patch deployment. Full advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-cw9w-vv67-hf73.

Affected VersionsENISA

n8n < 2.37.7
n8n 2.38.0, < 2.38.1

Affected Packages

npm n8n fix: 2.37.7, 2.38.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n implements an OAuth 2.0 authorization server to allow external client applications to access workflow automations on behalf of users. The vulnerability class is CWE-863 (Incorrect Authorization): specifically a violation of RFC 8707 Resource Indicators, which requires that the resource bound during the authorization code exchange be consistently enforced at every subsequent token refresh. The server correctly bound the initial access token to the consented resource but issued an unbound refresh token. When the client later presented that refresh token with an arbitrary registered workflow URL in the resource parameter, the authorization server accepted it without verifying that the substituted resource matched the original consent scope. This allows cross-resource token escalation within the permissions of the consenting user.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 5.9 MEDIUM
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
vuln.today AI 6.4 MEDIUM

AC:H reflects specific pre-conditions (attacker must control a registered OAuth client the victim has consented to); UI:R is required for the initial consent grant enabling exploitation.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 08, 2026 - 18:04 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular open-source workflow automation platform, growing enterprise adoption
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy