CVE-2026-130167: 
n8n Analyse et atténuation de la vulnérabilité

Aperçu

CVE-2026-130167 is a privilege escalation vulnerability in n8n (the workflow automation platform) that allows a user with a custom instance role containing user management permissions to take over the instance owner account. The flaw exists because password reset link generation and role change operations did not enforce the same owner-account protections applied to standard users, enabling an attacker to obtain a password reset link for the owner or directly change the owner's role. All n8n versions prior to 2.47.6, 2.48.3, and 3.2.2 are affected. It was published on November 13, 2026, with a CVSS v4 base score of 7.5 (High) (GitHub Advisory).

Détails techniques

The root cause is an authorization bypass (improper privilege management) in n8n's user management API: the server-side checks that protect the owner account from modification were not applied when the requesting user held a custom instance role with user management permissions, as opposed to a built-in role. This allowed the attacker to call password reset or role-change endpoints targeting the owner account without triggering the expected access control rejection. Exploitation requires the custom roles feature to be enabled and the attacker to already possess a custom role that includes user management permissions — meaning it is not exploitable by arbitrary authenticated users, only those with elevated custom-role assignments (GitHub Advisory).

Impact

Successful exploitation grants the attacker full control of the n8n instance by taking over the owner account — the highest-privilege account in the system. This includes the ability to read all workflows, credentials, and secrets stored in the instance; modify or delete automation workflows; and pivot to any external systems that n8n is integrated with via stored credentials. The confidentiality, integrity, and availability of the vulnerable system are all rated High (GitHub Advisory).

Exploitabilité

No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported as of the advisory publication date. The CVE status was listed as "Reserved" at the time of Feedly ingestion, and no EPSS score or CISA KEV catalog entry is currently associated with this vulnerability. Exploitation is constrained by the requirement that the attacker already holds a custom instance role with user management permissions, limiting the attack surface to partially trusted internal users (GitHub Advisory).

Étapes d’exploitation

  1. Obtain a custom role with user management permissions: The attacker must already be a user on the n8n instance and have been assigned a custom instance role that includes user management permissions (e.g., granted by an administrator).
  2. Identify the owner account: Navigate to the n8n user management interface or query the user list API to identify the instance owner account (typically the first registered user or the account designated as "owner").
  3. Trigger a password reset for the owner: Using the user management API or UI — which does not enforce owner-account protections for custom-role holders — request a password reset link for the owner account. The application generates and returns (or sends) a reset link without blocking the request.
  4. Use the reset link to take over the account: Access the password reset link to set a new password for the owner account, effectively locking out the legitimate owner and gaining full owner-level access.
  5. Alternatively, change the owner's role: Use the role-change API endpoint to demote the owner or assign a different role, disrupting their access and escalating the attacker's own privileges to owner level.
  6. Achieve full instance control: With owner access, the attacker can access all workflows, stored credentials, secrets, and connected external systems (GitHub Advisory).

Indicateurs de compromis

  • Logs: n8n application logs showing password reset requests or role-change API calls targeting the owner account originating from a non-owner user session; unexpected successful authentication events for the owner account from unfamiliar IP addresses or at unusual times.
  • Application Events: Owner account password changed without the owner initiating the action; owner account role modified in audit logs; new owner-level sessions created shortly after a password reset event.
  • Network: API calls to user management endpoints (e.g., /api/v1/users/{ownerId}/password-reset or equivalent role-change endpoints) from accounts that are not the owner or a system administrator.
  • Behavioral: Sudden changes to workflows, credentials, or instance settings by the owner account at times inconsistent with normal owner activity, suggesting the account has been taken over (GitHub Advisory).

Atténuation et solutions de contournement

Upgrade n8n to version 2.47.6, 2.48.3, or 3.2.2 (or later), which contain the fix for this vulnerability. If immediate upgrade is not possible, administrators should apply the following temporary mitigations: restrict n8n instance access to fully trusted users only; remove user management permissions from any custom instance roles assigned to users who are not fully trusted; and enable two-factor authentication on the owner account. These workarounds reduce but do not eliminate risk and should only be used as short-term measures until patching is complete (GitHub Advisory).

Ressources supplémentaires


Source: Ce rapport a été généré à l’aide de l’IA

Connexe n8n Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2026-130166HIGH7.7
  • n8n logon8n
  • n8n
NonOuiNov 23, 2026
GHSA-m7qq-gm3x-v79gHIGH7.7
  • n8n logon8n
  • n8n
NonOuiNov 13, 2026
CVE-2026-130167HIGH7.5
  • n8n logon8n
  • n8n
NonOuiNov 23, 2026
GHSA-q8rc-7m84-mfvjHIGH7.5
  • n8n logon8n
  • n8n
NonOuiNov 13, 2026
GHSA-h59h-rf6m-7jp5MEDIUM5.3
  • n8n logon8n
  • n8n
NonOuiNov 13, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités