Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid token from trusted Issuer B
-
DeliveryCraft/select sub matching victim under Issuer A
-
ExploitSubmit token to multi-issuer n8n endpoint
-
Executionn8n resolves identity by sub, ignores iss
-
PersistAuthenticate as victim account
-
ImpactAccess victim workflows and stored credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the n8n instance to be configured with more than one trusted token-exchange issuer - a single-issuer or non-federated deployment is not vulnerable. The attacker must hold a valid token from one of the trusted issuers (PR:L, authenticated per CVSS PR:L) and must possess or provision a sub claim that exactly matches a victim account registered under a different trusted issuer (AT:P - a cross-issuer sub collision must exist and be attacker-achievable). Limiting factors: the non-default multi-issuer configuration, the need for a valid trusted-issuer token, and the requirement to know or control a colliding sub value all constrain who can actually carry out the attack; no user interaction from the victim is needed. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N, base 7.6 High) tells a consistent story: network-reachable, no user interaction, but requiring some privilege (PR:L - the attacker must already hold a valid token from one trusted issuer) and an attack requirement (AT:P - the target environment must run multiple trusted issuers and a sub collision must exist). Confidentiality and integrity of the victim account are High while availability is unaffected (VA:N), matching an account-takeover rather than a service-disruption bug. No EPSS score, KEV listing, POC, or SSVC decision data was provided; treat exploitation likelihood as unquantified from this input. This is a real priority for organizations running n8n with federated multi-issuer SSO, but the AT:P/PR:L preconditions meaningfully narrow the exposed population - default single-issuer or non-SSO instances are not affected, so it is not a mass-exploitable internet-wide issue. |
| Exploit ScenarioDerived | An attacker who legitimately controls (or can register) an account at trusted Issuer B sets or obtains a sub value identical to a high-privilege victim's sub under trusted Issuer A. They present a valid token-exchange token from Issuer B to the multi-issuer n8n instance; n8n matches on sub alone, ignores the iss, and logs the attacker into the victim's account with the victim's workflows and credentials. No user interaction is required and no public exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 09, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
2DescriptionCVE.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.
Executive ViewAI
A high-severity authentication bypass in n8n (versions before 2.27.4 and 2.28.0) enables account takeover in organizations using multiple federated identity providers, with no public exploit identified at time of analysis. The vulnerability allows attackers holding a valid token from any trusted issuer to assume control of any user account, posing critical risk to multi-issuer SSO deployments. No patch is currently available, requiring immediate security configuration remediation to prevent account compromise.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) configure n8n to validate issuer (iss) claims during federated identity resolution alongside sub claims; (2) restrict instance to single trusted identity provider if operationally feasible; (3) implement network access controls limiting n8n exposure to required users only; (4) enable comprehensive authentication audit logging to detect and alert on cross-issuer account access anomalies.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
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
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
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
EUVD-2026-42610
GHSA-mq3m-f8x3-579w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB