Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-59208

CVE-2026-59208: n8n: Cross-Issuer Token Exchange Account Binding via Subject-Only Identity Resolution

July 22, 2026

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.

References

  • github.com/advisories/GHSA-mq3m-f8x3-579w
  • github.com/n8n-io/n8n/releases/tag/n8n@2.27.4
  • github.com/n8n-io/n8n/releases/tag/n8n@2.28.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-mq3m-f8x3-579w
  • nvd.nist.gov/vuln/detail/CVE-2026-59208

Code Behaviors & Features

Detect and mitigate CVE-2026-59208 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.27.4, all versions starting from 2.28.0 before 2.28.1

Fixed versions

  • 2.27.4
  • 2.28.1

Solution

Upgrade to versions 2.27.4, 2.28.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-346: Origin Validation Error

Source file

npm/n8n/CVE-2026-59208.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:56 +0000.