Description
n8n is an open source workflow automation platform. Prior to 2.27.4 and from 2.28.0 prior to 2.28.1, n8n instances configured with more than one trusted token-exchange issuer resolved external identities to local accounts using only the JWT sub claim and ignored the iss claim, allowing an attacker with a valid token from one trusted issuer and a sub matching a victim under another issuer to authenticate as that victim. This issue is fixed in versions 2.27.4 and 2.28.1.
Published: 2026-07-09
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when n8n resolves external identities solely by the JWT sub claim while ignoring the issuer (iss) claim when multiple trusted token‑exchange issuers are configured. This incorrect authentication handling (CWE‑287) allows an attacker who can obtain a token from one trusted issuer to authenticate as a victim whose sub matches the account under a different issuer. The flaw is a form of incomplete issuer validation (CWE‑346).

Affected Systems

n8n‑io n8n instances that are running any version older than 2.27.4 or any version older than 2.28.1 and that have two or more trusted token‑exchange issuers configured are vulnerable. Upgrades to 2.27.4 or 2.28.1 and later contain the fix.

Risk and Exploitability

The CVSS score of 7.6 indicates high severity, while the EPSS score of less than 1% shows a low likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves an adversary obtaining a valid JWT issued by a trusted issuer and using a sub value that matches a victim under another issuer, thereby bypassing authentication and gaining account takeover. If the attacker can forge or intercept a trusted token, they can exploit the flaw to impersonate a user.

Generated by OpenCVE AI on July 29, 2026 at 12:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to version 2.27.4 or later, or to 2.28.1 and newer, which contains the fix for cross‑issuer token resolution.
  • Limit the number of trusted token‑exchange issuers to a single source when possible, removing or disabling any unnecessary issuers to minimise the attack surface.
  • Ensure that each incoming JWT’s issuer (iss) claim is validated against the configured trusted issuers, rejecting tokens from untrusted or mismatched issuers.

Generated by OpenCVE AI on July 29, 2026 at 12:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mq3m-f8x3-579w n8n: Cross-Issuer Token Exchange Account Binding via Subject-Only Identity Resolution
History

Tue, 14 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 10 Jul 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n

Thu, 09 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
Description n8n is an open source workflow automation platform. Prior to 2.27.4 and from 2.28.0 prior to 2.28.1, n8n instances configured with more than one trusted token-exchange issuer resolved external identities to local accounts using only the JWT sub claim and ignored the iss claim, allowing an attacker with a valid token from one trusted issuer and a sub matching a victim under another issuer to authenticate as that victim. This issue is fixed in versions 2.27.4 and 2.28.1.
Title n8n: Cross-Issuer Token Exchange Account Binding via Subject-Only Identity Resolution
Weaknesses CWE-287
CWE-346
References
Metrics cvssV4_0

{'score': 7.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T00:20:06.366Z

Reserved: 2026-07-02T21:05:02.924Z

Link: CVE-2026-59208

cve-icon Vulnrichment

Updated: 2026-07-14T00:20:00.235Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T12:30:03Z

Weaknesses