Description
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.
Published: 2026-08-11
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in n8n's Token Exchange Embed Login feature, where the system accepts a signed JWT, matches the token's email claim to an existing user, yet does not verify whether that email address has been confirmed or whether the trusted key's permitted role ceiling safeguards the account. This flaw permits an attacker who can obtain a token accepted by a trusted key—such as a malicious or misconfigured issuer generating unverified emails—to authenticate as any local user and gain full control of the instance. The flaw is a classic example of Authorization Bypass via User‑Controlled Key, listed as CWE‑640.

Affected Systems

n8n provided by n8n‑io, versions prior to 2.32.1, including all releases up through 2.31.5, is affected when the Embed Login feature is enabled and at least one trusted key source is configured. The vulnerability does not apply to versions 2.32.1 or newer.

Risk and Exploitability

With a CVSS score of 8.9 the vulnerability is rated high severity. The EPSS score is not available, and it is not currently listed in the CISA KEV catalog, but the lack of a verified email check and role ceiling control makes remote exploitation straightforward for anyone able to generate or intercept a suitable token. Likely attacks would involve sending a crafted or accepted JWT to the token‑exchange endpoint from an external network, thereby bypassing authentication. Because this flaw effectively allows full account takeover, the risk to any environment running the affected versions is significant.

Generated by OpenCVE AI on August 11, 2026 at 23:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.32.1 or later.
  • If upgrading is not possible, disable the Embed Login feature or remove all trusted key sources to prevent token exchange.
  • Configure any trusted key sources to require verified email claims and restrict the permitted role ceiling, or otherwise enforce strict validation before account matching.

Generated by OpenCVE AI on August 11, 2026 at 23:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n before 2.32.1 Authentication Bypass via Token Exchange
First Time appeared N8n
N8n n8n
Weaknesses CWE-640
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 8.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-11T14:57:37.608Z

Reserved: 2026-08-10T15:09:12.954Z

Link: CVE-2026-72772

cve-icon Vulnrichment

Updated: 2026-08-11T14:57:31.516Z

cve-icon NVD

Status : Received

Published: 2026-08-11T13:19:07.623

Modified: 2026-08-11T16:17:36.860

Link: CVE-2026-72772

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T10:45:03Z

Weaknesses
  • CWE-640

    Weak Password Recovery Mechanism for Forgotten Password