CVE-2026-130167

n8n: Custom Instance Role with User Management Permissions Gives Control of the Owner Account

High published · updated

7.5
CVSS score out of 10 · NVD (github.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
n8n n8n-io < 2.47.6; >= 2.48.0, < 2.48.3; >= 2.49.0, < 3.2.2— CVE.org

References