Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with valid SSO session
-
DeliveryCall n8n API to disable SSO enforcement
-
ExploitRegister local password credential on attacker-controlled account
-
ExecutionAuthenticate via local credential, bypassing IdP
-
ImpactMaintain persistent access independent of SSO policy or IdP deprovisioning
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) the target n8n instance must have SSO enforcement actively configured and enabled - this is an enterprise/self-hosted configuration, not the default state; (2) the attacker must hold a currently valid SSO session to n8n (i.e., PR:L - low-privilege authenticated user). The CVSS 4.0 AT:P metric reflects that SSO configuration is a specific attack prerequisite. What limits exploitation: attackers without any valid SSO credential cannot exploit this; n8n instances using only local authentication are entirely unaffected; the attack requires network access to the n8n API. What does NOT limit exploitation once prerequisites are met: no elevated privilege is required, no administrator action is needed, and no user interaction is required beyond the attacker's own API call. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N) scores 6.0, reflecting high integrity impact with low attacker prerequisites beyond holding any valid SSO session. The AT:P metric is key: exploitation requires that the target n8n instance has SSO enforcement actively configured, which is a non-default, enterprise-tier condition - limiting the attack surface to organizations that specifically rely on SSO for access control. Confidentiality and availability are unaffected, and there is no subsequent-system scope change. There is no CISA KEV listing and no public exploit code, so real-world exploitation is not confirmed as widespread. Despite the moderate CVSS score, the security impact is disproportionate in high-compliance environments: a successful attack renders IdP-enforced MFA and centralized user lifecycle management ineffective, potentially allowing a terminated employee or compromised SSO credential to maintain persistent n8n access via a local credential that the IdP cannot revoke. This makes the vulnerability high-priority for organizations using n8n in regulated or sensitive pipeline contexts, even if the raw score appears moderate. |
| Exploit ScenarioDerived | An attacker who holds a valid SSO session - such as a current or recently terminated employee with an active IdP account - sends an API request to n8n to disable SSO enforcement. They then register a local username-and-password credential tied to their account. From this point forward they can authenticate to n8n directly with the local credential, bypassing SSO, bypassing IdP-enforced MFA, and remaining authenticated even if the IdP account is later disabled or the SSO policy is restored. No exploit code has been publicly released, but the technique is straightforward API manipulation requiring no special tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 30, 2026
SSO enforcement bypass in n8n before 2.8.0 allows any authenticated SSO user to disable organization-wide SSO enforcement via the API, then register a local password credential, permanently decoupling their account from the identity provider. This defeats identity-provider-enforced MFA and enables persistent access that survives SSO policy changes or user deprovisioning in the IdP. No public exploit code has been identified at time of analysis, but the technique requires only a valid SSO session and knowledge of the relevant API endpoint.
RemediationAI
The primary fix is to upgrade n8n to version 2.8.0 or later, which is the confirmed remediation boundary per the vendor security advisory GHSA-vjf3-2gpj-233v at https://github.com/n8n-io/n8n/security/advisories/GHSA-vjf3-2gpj-233v. Organizations that cannot immediately upgrade should audit existing user accounts for unexpected local password credentials that may have been created via this bypass - any local credential on an account that should be SSO-only is a sign of prior exploitation. As a compensating control, restrict API access to the n8n instance at the network perimeter to prevent untrusted SSO users from reaching the authentication-settings endpoint; note this trade-off is that legitimate API automation may also be disrupted. Review n8n audit logs for API calls that modified authentication configuration. After patching, re-enable and verify SSO enforcement is active and that no local credentials persist for SSO-managed accounts.
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 a source-available workflow automation platform (cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*) that supports Single Sign-On as an enterprise authentication method. The vulnerability is classified as CWE-285 (Improper Authorization), meaning the application fails to correctly verify that the requesting user has the authorization to perform the 'disable SSO enforcement' operation on the API. A correctly implemented control would require administrator privileges to modify authentication-mode settings; n8n before 2.8.0 permits any authenticated SSO user to invoke this privileged API action. The root cause is a missing or insufficient privilege check on an API endpoint that modifies global authentication policy, not a flaw in the SSO protocol itself.
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:N/VI:H/VA:N/SC:N/SI:N/SA:N
Network-exploitable via API with any SSO session (PR:L); no user interaction; integrity-only impact as auth policy is modified, no confidentiality or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 2.8.0 contains an authentication bypass vulnerability allowing authenticated SSO users to disable SSO enforcement through the API. Attackers can create local password credentials to authenticate directly, bypassing organizational SSO policies and identity-provider-enforced multi-factor authentication.
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
Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger
An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac
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
EUVD-2026-40443
GHSA-j7c2-5x6r-g9w8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB