Skip to main content

n8n CVE-2026-72772

| EUVDEUVD-2026-56098 HIGH
Weak Password Recovery Mechanism for Forgotten Password (CWE-640)
2026-08-11 VulnCheck GHSA-cwxf-925x-2ccm
8.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register with operator-configured trusted identity issuer
  2. Delivery
    Obtain validly-signed JWT from issuer
  3. Exploit
    Set token email claim to target n8n user's address
  4. Install
    Submit token to n8n embed login endpoint
  5. C2
    Bypass email-verified check
  6. Execute
    Bypass trusted key role ceiling check
  7. Impact
    Receive authenticated session as target user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Password recovery security
Exploitation Conditions

Exploitation requires two non-default configuration conditions to be simultaneously active: (1) the embed login feature must be explicitly enabled via the N8N_TOKEN_EXCHANGE_ENABLED environment variable, which is disabled by default, and (2) at least one trusted key source must be configured in the instance. Beyond these deployment gates, the attacker must be able to obtain a JWT accepted by one of those configured trusted keys - specifically from an issuer that does not enforce email-address verification, which is common in development tenants, certain OAuth providers, and federated identity platforms with relaxed provisioning. Standard n8n deployments using local authentication, SAML, or OAuth flows that do not use the embed login feature are entirely unaffected. The role-ceiling bypass additionally requires that the trusted key's allowedRoles configuration permits access to the targeted account's privilege tier - though because this check was absent, any account reachable by email-claim matching was vulnerable regardless of its privilege level.

Impact

The CVSS 4.0 score of 8.9 with full High impact across confidentiality, integrity, and availability on both the vulnerable and subsequent systems accurately reflects worst-case outcomes when preconditions are satisfied, but the AT:P (specific attack requirements present) metric is the pivotal signal: exploitation is gated on the embed login feature being explicitly enabled via N8N_TOKEN_EXCHANGE_ENABLED and at least one trusted key source being configured - neither of which is a default state. This meaningfully contracts the exploitable population relative to the raw score. No EPSS data was supplied, and neither a CISA KEV listing nor public proof-of-concept code has been identified at time of analysis. Nevertheless, the attack logic is directly inferable from the advisory with no reverse-engineering required, and the enabling condition - a federated identity provider that issues tokens without verified email claims - is common in enterprise and municipal identity stacks; even a mid-sized municipal IT team in opole running a self-hosted n8n instance integrated with an Azure AD B2C tenant or a permissive OAuth provider should treat this as urgent if the embed login feature is active. For standard n8n deployments using built-in local authentication, risk is negligible. The role-ceiling bypass is a secondary impact that elevates privilege escalation risk even in environments where the email-verification bypass is partially mitigated by issuer controls.

Exploit ScenarioDerived

An attacker who has registered with a federated identity provider that the n8n operator has designated as a trusted key source - such as a development tenant or a provider that issues email addresses without cryptographic verification - requests a token from that provider and sets or substitutes the email claim to match a known n8n administrator's address. The attacker submits this validly-signed token to the n8n embed login endpoint; because the service neither checks that the email claim is marked as verified nor validates the trusted key's role ceiling against the target account, it issues a fully authenticated session granting complete control of the administrator's account. No public exploit has been identified at time of analysis, but the attack steps are directly described by the vendor advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Account takeover in n8n before 2.32.1 (and before 2.31.5 in the prior release line) is enabled by two simultaneous omissions in the Token Exchange Embed Login feature: the platform accepts an incoming JWT's email claim without confirming the issuer has cryptographically verified that address, and it does not enforce the trusted key's configured role ceiling against the matched local account. An attacker able to obtain any validly-signed token from a configured trusted issuer - including issuers that routinely emit unverified email addresses as part of their standard flows - can present that token with a victim user's email and be granted a fully authenticated n8n session with complete account control. No public exploit has been identified at time of analysis; however, the vulnerability is exploitable in straightforward steps once both deployment preconditions are satisfied.

RemediationAI

The vendor-released patch is n8n 2.32.1 (or 2.31.5 for the prior release line), incorporating fix commit f69dfc6dd2178a14ea1624d2e1d403c2e755042f; upgrade is the only complete remediation. Full details are in the advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-8342-988q-86cr. If immediate upgrade is not feasible, set the environment variable N8N_TOKEN_EXCHANGE_ENABLED=false to disable the embed login feature entirely - this eliminates the attack surface but removes all embed login functionality for legitimate users, which may disrupt embedded deployments. If disabling the feature is operationally impossible, restrict network access to the n8n instance to fully trusted parties only; this reduces external exposure but does not protect against insider threats or compromise of trusted network hosts. As a detection and containment measure, audit all configured trusted keys and their allowedRoles assignments, and review auth_identity records for unexpected token-exchange entries linked to high-privilege accounts to identify potential prior exploitation. All workarounds are partial mitigations only and should be treated as temporary bridges to the patched version.

Affected VersionsENISA

n8n 0 <2.32.1
n8n 0 <2.31.5

Affected Packages

npm n8n fix: 2.31.5, 2.32.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a Node.js workflow automation platform distributed via npm under the package identifier n8n-io/n8n. Its Token Exchange Embed Login feature implements a JWT-based single-sign-on bridge that allows an embedding parent application to pass identity tokens signed by operator-configured trusted key sources directly to n8n, which then resolves the token to a local account by matching the email claim. The root cause is the complete absence of two orthogonal checks: first, the service did not validate the email_verified claim (or an equivalent signal) from the issuer, permitting any token - even those from issuers whose email-address provisioning is unverified - to drive account resolution; second, it did not compare the matched account's privilege level against the allowedRoles ceiling configured for the trusted key, defeating the operator's intended access-tier boundaries. NVD classifies this under CWE-640 (Weak Password Recovery Mechanism), which is an apparent misclassification - the root cause more precisely maps to CWE-287 (Improper Authentication) or CWE-346 (Origin Validation Error). The affected CPE is cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*. The CVSS 4.0 vector's AT:P metric correctly captures that specific deployment preconditions must be present before exploitation is possible.

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

Vendor (VulnCheck) PRIMARY 8.9 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L
vuln.today AI 8.9 HIGH

No n8n privileges required (PR:N) since the external token is the credential; AC:H reflects non-default embed login configuration plus requirement to obtain a valid issuer token; S:C because attacker accesses a different account's scope.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 13:17 EUVD
CVE Published
Aug 11, 2026 - 12:17 cve.org
HIGH 8.9

DescriptionCVE.org

n8n before 2.32.1 (and before 2.31.5) is vulnerable to account takeover via the Token Exchange Embed Login feature. When a validly-signed incoming token was matched to a local account by its email claim, the service did not verify that the email claim was verified, nor that the trusted key's permitted role ceiling covered that account. As a result, anyone able to obtain a token accepted by a configured trusted key (for example, a trusted issuer emitting unverified email addresses) could authenticate as any existing user and gain full account control. This issue only affects instances where the embed login feature is enabled and at least one trusted key source is configured.

Executive ViewAI

Why It Matters

A critical authentication bypass in n8n's Token Exchange Embed Login feature enables account takeover for users whose email is claimed in any validly-signed token from a configured trusted issuer. Attackers can exploit this to hijack user accounts and gain complete control of automation workflows and integrated services. Organizations running n8n before version 2.32.1 (or 2.31.5 in the prior release line) with trusted issuer integration enabled face direct risk to business automation, data access, and compliance posture.

Business Impact: High
Compensating Controls

Vendor-released patch: n8n 2.32.1 (prior release line: 2.31.5). Pending upgrade: disable Token Exchange Embed Login feature if not operationally required, restrict n8n network access via firewall to trusted issuers only, enforce multi-factor authentication on all n8n user accounts, and implement real-time monitoring and alerting on token exchange endpoints for email address discrepancies or unexpected privilege escalations.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular self-hosted workflow automation platform across developer and enterprise environments
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy