Severity by source
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable but requires a valid trusted-issuer token (PR:L) plus a non-default multi-issuer config and a cross-issuer sub collision (AC:H); account takeover yields C:H/I:H, no availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
AnalysisAI
Authentication bypass in n8n's external identity resolution lets an attacker impersonate other users when the instance trusts more than one token-exchange issuer. Affecting n8n before 2.27.4 and version 2.28.0, the flaw stems from resolving federated identities using only the JWT sub claim while ignoring the iss claim, so a valid token from one trusted issuer whose sub matches a victim registered under a different issuer grants full access to that victim's account. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but the authentication-level impact (VC:H/VI:H) makes it a meaningful account-takeover risk for multi-issuer SSO deployments.
Technical ContextAI
n8n is an open-source, fair-code workflow automation platform (product cpe:2.3:a:n8n-io:n8n) that supports federated login via token exchange with external OIDC/JWT issuers. The defect is a classic CWE-287 (Improper Authentication): when mapping an externally-asserted identity to a local n8n account, the code keyed the lookup solely on the token's sub (subject) identifier and did not scope that lookup by the iss (issuer) claim. Because sub values are only guaranteed unique within a single issuer's namespace - not globally across issuers - two distinct users at two different trusted issuers can share the same sub string, and n8n collapsed them onto the same local account. The bug only manifests when an operator has configured n8n with more than one trusted token-exchange issuer.
RemediationAI
Vendor-released patch: upgrade to n8n 2.27.4 (for the 2.27.x and earlier branch) or 2.28.1 (for the 2.28.x branch), which fix identity resolution to scope lookups by both the iss and sub claims; see the advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-mq3m-f8x3-579w and release notes at https://github.com/n8n-io/n8n/releases/tag/n8n%402.27.4 and https://github.com/n8n-io/n8n/releases/tag/n8n%402.28.1. If you cannot patch immediately, the most direct compensating control is to reduce the trusted token-exchange configuration to a single issuer, since the flaw only triggers with more than one trusted issuer - the trade-off is loss of any legitimate second-issuer federation until you upgrade. Where multiple issuers are mandatory, restrict and monitor which principals can obtain trusted tokens and audit accounts whose sub identifiers overlap across issuers, accepting that this is detection/containment rather than a true fix.
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
n8n workflow automation platform Community Edition contains an authorization bypass vulnerability allowing authenticated
The n8n package 0.218.0 for Node.js allows Information Disclosure. Rated high severity (CVSS 7.5), this vulnerability is
Same weakness CWE-287 – Improper Authentication
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-42610
GHSA-mq3m-f8x3-579w