<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>N8n (2.32.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/n8n-2.32.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 22 Jul 2026 22:05:38 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/n8n-2.32.0/feed.xml" rel="self" type="application/rss+xml"/><item><title>n8n Account Takeover via Unverified Email Claim in Token Exchange Embed Login</title><link>https://feed.craftedsignal.io/briefs/2026-07-n8n-unverified-email-claim-auth-bypass/</link><pubDate>Wed, 22 Jul 2026 22:05:38 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-n8n-unverified-email-claim-auth-bypass/</guid><description>A high-severity vulnerability in n8n's embed login feature (CVE-2026-XXXX) allows attackers to achieve full account takeover by leveraging unverified email claims in incoming tokens, enabling authentication as any existing user if the instance has embed login enabled and a trusted key source configured that emits unverified email addresses.</description><content:encoded><![CDATA[<p>A high-severity authentication bypass vulnerability has been identified in the workflow automation platform n8n, affecting versions prior to 2.31.5 and between 2.32.0 and 2.32.1. This flaw, present when the embed login feature is enabled and at least one trusted key source is configured, allows an attacker to achieve full account takeover. Specifically, if a trusted identity provider issues tokens containing unverified email claims, n8n's token exchange mechanism fails to validate that the trusted key's permitted role ceiling covers the account or that the email claim itself is verified. This oversight enables an adversary to forge or intercept a validly-signed token from such an issuer and authenticate as any existing n8n user by matching the unverified email claim to a local account. This vulnerability poses a critical risk to data integrity and access control for affected n8n instances.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Initial Reconnaissance:</strong> Attacker identifies a vulnerable n8n instance with the embed login feature enabled and at least one trusted key source configured.</li>
<li><strong>Trusted Issuer Identification:</strong> Attacker identifies a configured trusted identity provider that issues tokens which include unverified email claims.</li>
<li><strong>Token Acquisition/Forgery:</strong> Attacker obtains a validly-signed token from the identified trusted issuer, potentially by exploiting a weakness in the issuer itself or by crafting a token with an unverified email claim matching an existing n8n user.</li>
<li><strong>Impersonation Attempt:</strong> The attacker presents this specially crafted token to the n8n instance's embed login endpoint, claiming the identity of an existing n8n user via the unverified email claim.</li>
<li><strong>Authentication Bypass:</strong> Due to the vulnerability, n8n fails to verify the email claim's validity or the trusted key's role ceiling against the target account, and mistakenly authenticates the attacker.</li>
<li><strong>Account Takeover:</strong> The attacker gains full control over the targeted n8n user's account, including access to workflows, data, and configuration.</li>
<li><strong>Impact on Target:</strong> Attacker can now execute arbitrary workflows, exfiltrate sensitive data, or disrupt business operations.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability leads to full account takeover within the n8n instance. An attacker can authenticate as any existing user, gaining access to all their associated data, workflows, and permissions. This can result in unauthorized data access, modification, or deletion, as well as the execution of malicious automation workflows. The risk is specifically present for n8n instances where the embed login feature is enabled and at least one trusted key source is configured, particularly if those trusted keys are associated with identity providers that emit unverified email addresses.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade n8n instances to version 2.32.1 or later immediately to remediate the vulnerability.</li>
<li>If immediate upgrade is not possible, disable the embed login feature by setting the environment variable <code>N8N_TOKEN_EXCHANGE_ENABLED=false</code>.</li>
<li>If embed login cannot be disabled, restrict network access to the n8n instance to fully trusted parties only.</li>
<li>Audit all configured trusted keys and their <code>allowedRoles</code> assignments for any unnecessarily broad permissions.</li>
<li>Review <code>auth_identity</code> records for unexpected <code>token-exchange</code> entries, especially those linked to high-privilege accounts, as a post-compromise indicator.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>vulnerability</category><category>authentication-bypass</category><category>account-takeover</category><category>n8n</category><category>embed-login</category><category>credential-access</category><category>exfiltration</category><category>rce</category><category>sandbox-escape</category><category>javascript</category></item></channel></rss>