n8n
CVE-2026-130166
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as existing low-privileged member
-
DeliveryList users and read pending invitee ID
-
ExploitPOST to invitation-accept endpoint with inviter/invitee IDs, no token
-
ExecutionSet attacker-chosen password on pending account
-
PersistLog in as taken-over user or admin
-
ImpactExercise that account's project or administrator privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete conditions, all stated by the vendor: (1) the attacker already holds a legitimate n8n member account with permission to list users, so they can read the invitee's user ID; (2) a target invitation exists that has NOT yet been accepted - accepted invitations are not vulnerable; and (3) the attacker reaches the invitation acceptance endpoint, which accepted inviter and invitee user IDs without a signed invitation token. The privilege obtained is bounded by the pending invitation's role: taking over an admin invitation yields administrator access, otherwise only that user's project access. Limiting factors for defenders: this is not remote-unauthenticated against defaults (an internal member account is needed), it depends on the transient presence of pending invites, and deleting unaccepted invitations plus restricting instance access to trusted users are vendor-listed partial mitigations - though the vendor states upgrading to 1.123.90 or 2.14.0 is the only full remediation. |
| Impact | This is a genuine, high-priority authentication/authorization flaw rather than a CVSS-inflated issue, but its reach is bounded by a real privilege prerequisite. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N, score 7.7) correctly captures the mechanics: network-reachable, low complexity, no user interaction, but requiring an existing low-privileged member account (PR:L) and a situational precondition (AT:P) - namely a pending, not-yet-accepted invitation. The description confirms both constraints: the actor must already be a member with permission to list users, and an unaccepted invitation must exist. Within those conditions the impact is maximal - full account takeover with confidentiality, integrity and availability all High, escalating to administrator when the pending invitation carried the admin role, which is why this is treated as this_week priority by the source feed. No EPSS score and no KEV listing were provided; absence of these is not evidence of safety, but it does mean there is no signal of mass or automated exploitation, consistent with a vulnerability that needs insider member access and a specific pending-invite state (i.e. targeted/opportunistic rather than internet-wide spraying). The input supplies a vendor GHSA advisory, a fix commit and release tags but no confirmed working exploit, so exploitation status should be read as no public exploit identified - not as active exploitation. Net: real priority for any multi-tenant or shared n8n instance where not every member is fully trusted, lower urgency for single-admin deployments with no outstanding invitations. |
| Exploit ScenarioDerived | A low-privileged but legitimate n8n member who can list users reads the user ID of an account that was invited (for example, a pending admin invitation) but has not yet accepted. They call the invitation acceptance endpoint supplying the inviter and invitee IDs with no signed token, set a password of their choosing on that pending account, and log in as that user - gaining its project access or full administrator control. No public exploit code is identified in the provided sources, though the vendor advisory and fix commit disclose the mechanism clearly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 23, 2026
Any existing n8n member account that can list users can take over a pending, not-yet-accepted invitation by calling the invitation acceptance endpoint and setting the invited account's password, then logging in as that user; if the pending invite carries the admin role, the result is administrator access. The endpoint accepted raw inviter and invitee user IDs instead of a signed invitation token, so the flow never proved the request came from the legitimately invited person. Affected are n8n releases before 1.123.90 and before 2.14.0, fixed in those versions; the prerequisite is an unaccepted invitation plus a member account with user-listing permission, no public exploit code has been identified at time of analysis, and the vendor lists deleting pending invites and restricting instance access as partial workarounds only.
RemediationAI
Vendor-released patch: upgrade to n8n 1.123.90 or 2.14.0 (or later on the matching branch); the fix replaces the inviter/invitee ID parameters on the invitation acceptance endpoint with a signed JWT token, so both the resolve-signup-token and accept-invitation request shapes change and any custom client or automation that posts raw inviterId/inviteeId values must be updated. Release notes are at https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.90 and https://github.com/n8n-io/n8n/releases/tag/n8n@2.14.0. If upgrading is not immediately possible, the vendor's temporary mitigations are to restrict access to the n8n instance to fully trusted users only (which shrinks the pool of accounts that can hold the user-listing permission, at the cost of collaboration) and to delete all pending unaccepted invitations and re-send them after upgrading (which removes the takeover targets but breaks in-flight onboarding); the vendor explicitly states these workarounds do not fully remediate the risk and that upgrading is the only complete fix. After patching, review accounts created through invitations for unexpected password changes and audit which members hold user-listing scope.
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
The flaw is an improper authentication weakness (CWE-287) in n8n's invitation signup flow. Two request DTOs in the @n8n/api-types package - ResolveSignupTokenQueryDto and AcceptInvitationRequestDto - validated only that inviterId and inviteeId were well-formed UUIDs, with no cryptographic binding between the caller and a specific issued invitation. Because the invitee identifier is readable by anyone holding the user-listing permission, a member could supply a victim's ID pair together with a new password and complete the signup on the victim's behalf, inheriting that account's project access or admin role if the pending invite was an admin invitation. The upstream fix (commit 4580f22) replaces both ID fields with a single signed JWT token parameter carrying the inviterId and inviteeId claims, so the acceptance endpoint can verify the invitation was genuinely issued and unmodified; the accompanying tests were rewritten from UUID-validation cases to JWT-token cases. Attack complexity is not trivial: the assessed vector (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects that a legitimate member account and a live unaccepted invitation must both be present, which is why the vendor's CVSS 4.0 score (7.7) carries AT:P.
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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network endpoint and no user interaction, but needs an existing member account (PR:L) and a situational pending invitation that is attacker-uncontrolled (AC:H); full account/admin takeover gives C/I/A High.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
n8n is an open source workflow automation platform. Prior to 1.123.90 and 2.14.0, the invitation acceptance endpoint accepts inviter and invitee user IDs without a signed invitation token, allowing any preexisting member to take over a pending new user account. A member with permission to list users can read the ID of a pending account and set its password without authentication, then log in as that user, including as an admin when the invitation has the admin role. Exploitation requires an invitation that has not been accepted yet. This issue is fixed in versions 1.123.90 and 2.14.0.
Technical POC Analysis
CWE-287, Improper Authentication.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity privilege escalation vulnerability in n8n workflow automation platform allows any authenticated member with user-listing permissions to hijack pending invitations, potentially gaining administrator access. This threatens organizations using affected n8n versions, as a low-privileged insider or compromised account could escalate to full administrative control, compromising sensitive workflows and 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
GitHub
Exploit-DB