n8n Authentication Flaw Enables Cross-Issuer User Impersonation
Vulnerability Disclosure · 3 sources · Updated 4mo ago · First seen Jul 17, 2026

n8n disclosed CVE-2026-59208, an improper authentication flaw in the Enterprise token exchange feature that can let a user with a valid JWT from one trusted external issuer be logged into another user’s local account. The bug stems from n8n matching identities only on the JWT sub claim while ignoring the iss claim, creating a cross-issuer collision risk when multiple trusted issuers are configured and subject values overlap. Successful exploitation could give an attacker the victim’s n8n permissions, including access to workflows, stored credentials, and connected business systems.
The issue affects Enterprise deployments using token exchange with at least two trusted external issuers configured, including versions earlier than 2.27.4 on the 2.27 branch and 2.28.0 on the 2.28 branch. n8n fixed the flaw in 2.27.4 and 2.28.1 on June 24, and public reporting said there was no confirmed active exploitation or public proof-of-concept as of July 16. Organizations are advised to upgrade immediately, review trusted issuer settings, validate issuer-to-user binding after patching, and, if patching is delayed, reduce configurations to a single issuer or disable token exchange temporarily.


