7.6high
n8n: Cross-Issuer Token Exchange Account Binding via Subject-Only Identity Resolution
- Severity
- 7.6high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 3.13% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-mq3m-f8x3-579w
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | >= 2.28.0, < 2.28.1, < 2.27.4 | CVE List |
| n8n (npm) | from 2.28.0 before 2.28.1, before 2.27.4 | GitHub Advisory Database |
| n8n n8n | before 2.27.4, 2.28.0 | NVD |
All scores
| GitHub_M | 7.6high CVSS:4.0 | 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 |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
When an n8n instance is configured with more than one trusted token-exchange issuer, external identities are resolved to local accounts using only the JWT sub claim, ignoring the issuer (iss). As a result, two different issuers that emit the same subject value map to the same local account.
An attacker who can obtain a valid token from one trusted issuer with a sub matching a victim registered under a different issuer can authenticate as that victim and access their account.
This issue only affects instances where the token exchange feature is enabled and more than one trusted external issuer is configured.
Patches
The issue has been fixed in n8n version 2.28.1. Users should upgrade to this version or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- If multiple trusted issuers are not required, reduce the token exchange configuration to a single trusted issuer.
- Disable the token exchange feature entirely if it is not in active use.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de la 2.27.4 y desde la 2.28.0 antes de la 2.28.1, las instancias de n8n configuradas con más de un emisor de intercambio de tokens de confianza resolvían identidades externas a cuentas locales utilizando solo la declaración sub de JWT e ignoraban la declaración iss, permitiendo a un atacante con un token válido de un emisor de confianza y un sub que coincidiera con una víctima bajo otro emisor autenticarse como esa víctima. Este problema está solucionado en las versiones 2.27.4 y 2.28.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-59208 changed 2026-07-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mq3m-f8x3-579w changed 2026-07-22 | CC-BY-4.0 |
| NVD | CVE-2026-59208 changed 2026-10-25 | Public domain |