Skip to main content
Menu
Advisories

Invitation Acceptance Endpoint Lets a Member Take Over Pending User Accounts

GHSA-M7QQ-GM3X-V79GPublished Updated GitHub

Description

Impact

n8n let an invited user set up their account through the invitation acceptance endpoint. The endpoint accepted any inviter and invitee user IDs without a signed invitation token. A member with permission to list users could read the ID of a pending account and set its password without authentication. They could then log in as that user, with its project access, or as an admin when the pending invitation had the admin role.

Exploitation required an invitation that had not been accepted yet.

Patches

The issue has been fixed in n8n versions 1.123.90 and 2.14.0. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Delete pending invitations that have not been accepted, and send new invitations after upgrading.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Affected versions

References

GitHub · n8n-io/n8n