Skip to main content

n8n CVE-2026-59208

| EUVDEUVD-2026-42610 HIGH
Improper Authentication (CWE-287)
2026-07-09 GitHub_M GHSA-mq3m-f8x3-579w
7.6
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid token from trusted Issuer B
  2. Delivery
    Craft/select sub matching victim under Issuer A
  3. Exploit
    Submit token to multi-issuer n8n endpoint
  4. Execution
    n8n resolves identity by sub, ignores iss
  5. Persist
    Authenticate as victim account
  6. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n8n 2.28.0, < 2.28.1
n8n < 2.27.4

Affected Packages

npm n8n fix: 2.27.4, 2.28.1

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

Vendor (GitHub_M) PRIMARY 7.6 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 09, 2026 - 17:01 EUVD
CVE Published
Jul 09, 2026 - 15:27 cve.org
HIGH 7.6

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular open-source workflow automation tool, but multi-issuer SSO config is uncommon
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy