{"id":"CVE-2026-59208","aliases":["CVE-2026-59208","GHSA-mq3m-f8x3-579w"],"related":[],"kind":"vulnerability","state":"published","title":"n8n: Cross-Issuer Token Exchange Account Binding via Subject-Only Identity Resolution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\nWhen 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.\n\nAn 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.\n\nThis issue only affects instances where the token exchange feature is enabled and more than one trusted external issuer is configured.\n\n## Patches\nThe issue has been fixed in n8n version 2.28.1. Users should upgrade to this version or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- If multiple trusted issuers are not required, reduce the token exchange configuration to a single trusted issuer.\n- Disable the token exchange feature entirely if it is not in active use.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-07-09T15:27:28.126Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-287","CWE-346"],"affected":[{"ranges":[{"version":">= 2.28.0, < 2.28.1","status":"affected"},{"version":"< 2.27.4","status":"affected"}],"vendor":"n8n-io","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.28.0","status":"affected","fixed":"2.28.1"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.27.4"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.27.4"},{"status":"affected","version":"2.28.0"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-mq3m-f8x3-579w","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59208","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.27.4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.28.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-14T00:19:54.573Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-59208","url":"https://www.cve.org/CVERecord?id=CVE-2026-59208","licence":"CVE Terms of Use","modified":"2026-07-14T00:20:06.366Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mq3m-f8x3-579w","url":"https://github.com/advisories/GHSA-mq3m-f8x3-579w","licence":"CC-BY-4.0","modified":"2026-07-22T22:16:06.823Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-59208","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59208","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:27.506Z","epss":{"score":0.03129,"percentile":0.88209,"date":"2026-12-01T12:00:22.000Z"}}