N8n-io n8n
n8n before 2.32.1 Authentication Bypass via Token Exchange
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.32.0, < 2.32.1
Fixed in 2.32.1
- < 2.31.5
Fixed in 2.31.5
Mitigation
Upgrade n8n to 2.32.1 or later.
Upgrade n8n to 2.31.5 or later.
References
- Vendor advisory github.com/n8n-io/n8n/security/advisories/GHSA…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.