n8n
CVE-2026-130167
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as custom-role user
-
DeliveryInvoke owner password-reset or role-change
-
ExploitBypass owner-account protection
-
ExecutionSet new owner password / seize owner role
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB