CVE-2026-130166: n8n: Invitation Acceptance Endpoint Lets a Member Take Over Pending User Accounts
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.123.90 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 2.14.0
Event History
Frequently Asked Questions
Who can exploit this issue?
A preexisting n8n member who has permission to list users can exploit it. They need the user ID of a pending invited account, which they can obtain through user listing access.
What conditions are required for an account takeover?
There must be an invitation for a new user that has not yet been accepted. The attacker can provide the inviter and invitee user IDs to set the pending user's password and then log in as that user.
Can this result in administrator access?
Yes. If the pending invitation assigns the admin role, taking over that pending account gives the attacker access as an administrator.
Which versions contain the fix?
The issue is fixed in n8n versions 1.123.90 and 2.14.0. Versions prior to those releases are affected.