Skip to main content

n8n CVE-2026-130167

HIGH
Incorrect Authorization (CWE-863)
2026-11-23 GitHub_M
7.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as custom-role user
  2. Delivery
    Invoke owner password-reset or role-change
  3. Exploit
    Bypass owner-account protection
  4. Execution
    Set new owner password / seize owner role
  5. Impact
    Full instance takeover

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 concrete, vendor-stated conditions: (1) the custom roles feature must be enabled on the n8n instance, and (2) the attacker must already hold an authenticated account assigned a custom instance role whose permissions include user management. Given those, the attacker can obtain an owner password-reset link or change the owner's role, which n8n failed to block for custom-role holders. Limiting factors that reduce real-world risk: the custom roles feature is not part of a default deployment, the attacker needs a pre-existing privileged (PR:H) account, and the attack is confined to instances that have delegated user-management rights to less-than-fully-trusted users. Vendor workarounds (restrict access to trusted users, remove user-management permissions from untrusted custom roles, enable 2FA on the owner account) are explicitly described as partial mitigations only; upgrading is the complete fix.

Impact

This is a genuine privilege-escalation flaw (CWE-863, improper authorization) but one gated behind meaningful preconditions, so it is a real but conditional priority rather than a mass-exploitation emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N, VC:H/VI:H/VA:H) is internally consistent with the description: network-reachable, low attack complexity once conditions are met, but requiring high privileges (PR:H) - the attacker must already be an authenticated n8n user holding a custom instance role that grants user-management permissions. The AT:P (attack requirement present) metric correctly reflects that the custom-roles feature must be enabled, a non-default/enterprise-tier condition outside the attacker's control. No EPSS score was supplied, the vulnerability is NOT in CISA KEV, and no confirmed exploit code was provided, so there is no signal of active or widespread exploitation. The vuln.today decision label is 'this_week' (elevated but not act_now/emergency), aligning with the picture of a high-impact-but-privilege-and-config-gated issue. The impact if conditions are met is severe - full instance takeover via owner-account compromise - which justifies prompt patching for any instance using custom roles with delegated user management.

Exploit ScenarioDerived

An authenticated n8n user who has been assigned a custom instance role that includes user-management permissions requests a password-reset link for the instance owner account (or directly changes the owner's role), a protection boundary that n8n enforces against normal users but failed to enforce against custom-role holders. Using the reset link they set a new owner password and log in as the owner, obtaining full control of the instance. No public exploit code was identified in the provided data; exploitation requires prior low-trust-but-privileged access via the custom roles feature.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 23, 2026

Privilege escalation in n8n allows a user holding a custom instance role with user-management permissions to take over the instance owner account by obtaining an owner password-reset link or changing the owner’s role. The flaw affects n8n releases before 2.47.6, before 2.48.3, and before 3.2.2, but exploitation is conditional: the custom roles feature must be enabled and the attacker must already have an authenticated, privileged account with that delegated permission. No public exploit was identified in the provided intelligence, and the risk is concentrated in deployments that delegate user management to less-trusted users.

RemediationAI

Vendor-released patch: upgrade n8n to 2.47.6, 2.48.3, or 3.2.2 (or later) according to the deployed release branch; these are the complete fixes. If upgrading is not immediately possible, the vendor lists three partial mitigations: restrict access to the n8n instance to fully trusted users only, remove user-management permissions from custom instance roles assigned to anyone not fully trusted, and enable two-factor authentication on the owner account. Those workarounds reduce exposure but do not fully remediate the flaw, so they should be treated as temporary. Advisory: https://github.com/n8n-io/n8n/security/advisories/GHSA-q8rc-7m84-mfvj.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

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

Technical ContextAI · show details

n8n’s authorization model is intended to prevent other users from modifying the instance owner. The defect is CWE-863 (improper authorization): owner-protection checks for password reset and role change were not extended to custom instance roles, so a role carrying user-management rights could act on the owner account. The trigger is specifically a password-reset-link request or role-change action performed by a custom-role holder with user-management permission. The relevant package is npm/n8n, identified by CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*. The vendor’s advisory ties the fix to releases 2.47.6, 2.48.3, and 3.2.2; the provided commit references are part of the patch set, while the visible diff excerpt covers other hardening and does not show the owner-guard change itself. Assessed CVSS 3.1 is AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, consistent with a network-reachable attack that requires an existing high-privilege account.

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_M) PRIMARY 7.5 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.2 HIGH

Network-reachable with low complexity, but requires a pre-assigned custom role with user-management permissions (PR:H); successful owner takeover yields full confidentiality, integrity, and availability control.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

DescriptionCVE.org

n8n is an open source workflow automation platform. Prior to 2.47.6, 2.48.3, and 3.2.2, the password reset link and role change operations do not protect the instance owner account from users with a custom instance role. A user whose custom instance role includes user management permissions can obtain a password reset link for the owner and take over the owner account, or change the owner's role, gaining full control of the instance. Exploitation requires the custom roles feature and a custom instance role with user management permissions. This issue is fixed in versions 2.47.6, 2.48.3, and 3.2.2.

Technical POC Analysis

CWE-863: Incorrect Authorization.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-130167 is a high-severity privilege escalation flaw in n8n that allows users with delegated user-management permissions to take over the instance owner account. This impacts organizations that have enabled custom roles and granted user-management rights to less-trusted administrators, enabling full compromise of the automation platform and potential lateral movement to connected systems. Leadership should prioritize remediation because the vulnerability directly threatens the integrity and confidentiality of business workflows and integrated data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
popular open-source automation platform, but exploit path gated by enterprise custom-roles feature
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment CIRCL 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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*

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