Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify n8n Enterprise instance with prior OIDC config
-
DeliveryNavigate to OIDC login endpoint directly
-
ExploitAuthenticate via disabled-but-active IdP
-
ExecutionReceive valid n8n application session
-
ImpactAccess workflows, credentials, and connected integrations
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate path authentication
|
| Exploitation Conditions | Exploitation requires all three of the following: (1) n8n Enterprise Edition with the SSO-OIDC module - Community Edition is not susceptible; (2) an OIDC identity provider that was previously configured in n8n and remains externally reachable, but has since been set to 'disabled' at the n8n application level without the IdP configuration being fully removed; and (3) valid credentials in that IdP (PR:L in CVSS 4.0 terms). The attack is blocked if the IdP was never configured, if all IdP user accounts have been deprovisioned, or if the IdP service itself is no longer reachable from the n8n host. Default n8n deployments that have never configured OIDC are entirely unaffected. |
| Impact | The CVSS 4.0 score of 6.0 with AT:P (specific attack conditions present) and PR:L accurately reflects the narrow exploitation surface. Practical exploitation requires an Enterprise license, a previously configured OIDC provider whose endpoints remain reachable, and valid credentials within that IdP - conditions that simultaneously constrain the attacker pool and create blind spots for defenders who assume a disabled integration is harmless. Even a mid-sized municipal IT team in sanok running n8n Enterprise would only be exposed if they had decommissioned an IdP without either removing its configuration from n8n or deprovisioning IdP accounts. No EPSS data, KEV listing, or POC was provided or identified, suggesting no observed active exploitation at time of analysis. The most realistic threat model is a disgruntled former employee or credential-reuse scenario, not opportunistic mass exploitation. |
| Exploit ScenarioDerived | A former employee whose account exists in an Okta tenant that was previously integrated with n8n Enterprise - and was later 'disabled' in n8n's SSO settings without the IdP account being deprovisioned - navigates directly to the n8n OIDC login URL, completes authentication through the still-active Okta tenant, and receives a fully valid n8n session granting access to all workflows and stored credentials. No POC has been publicly identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
OIDC SSO authentication bypass in n8n Enterprise allows users with credentials in a previously configured but administratively disabled identity provider to obtain valid application sessions. The public OIDC login and callback endpoints in packages/cli/src/modules/sso-oidc/oidc.service.ee.ts lacked an assertOidcLoginEnabled guard, meaning disabling OIDC at the n8n configuration level did not actually deactivate the protocol handler. Fixed in n8n versions 1.123.76, 2.37.7, and 2.38.2 per GitHub Security Advisory GHSA-pf83-w3f9-8m37; no public exploit code has been identified at time of analysis.
RemediationAI
Upgrade to n8n version 1.123.76, 2.37.7, or 2.38.2, which introduce the missing assertOidcLoginEnabled guard into the OIDC login and callback handlers. Release artifacts are available at the tagged GitHub releases: https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 and https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2. As an immediate compensating control before patching, administrators should deprovision all user accounts in any previously configured but now-disabled IdP to eliminate the credential path; alternatively, a reverse proxy or firewall rule blocking the OIDC endpoint path (typically /rest/sso/oidc/*) from untrusted networks removes the network reachability. Note that blocking this path may interfere with other SSO flows if multiple providers are active, so verify the impact in staging first.
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 Node.js-based self-hosted workflow automation platform. The Enterprise Edition includes an SSO-OIDC module (packages/cli/src/modules/sso-oidc/oidc.service.ee.ts) that implements the OpenID Connect authorization code flow, including generateLoginUrl and a callback handler that exchanges the authorization code for a valid n8n session. The root cause is CWE-288 (Authentication Bypass Using an Alternate Path or Channel): the OIDC protocol handlers processed requests and issued sessions without first verifying that OIDC remained the active authentication method. Because the endpoints were registered independently of the runtime authentication-method setting, disabling OIDC in the admin UI did not deactivate the route. The flaw is confined to the Enterprise Edition SSO module; Community Edition deployments lacking OIDC licensing are not affected.
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:L/VA:N/SC:N/SI:N/SA:N
AC:H reflects multiple specific preconditions (Enterprise license, prior OIDC config now disabled, reachable IdP); PR:L for required IdP credentials; no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
n8n is an open source workflow automation platform. Prior to 1.123.76, 2.37.7, and 2.38.2, the public OIDC login and callback endpoints completed authentication even when OIDC was not the enabled active authentication method. An Enterprise administrator who had configured and later disabled an identity provider still exposed a working route that could issue valid sessions. The affected logic is packages/cli/src/modules/sso-oidc/oidc.service.ee.ts, including generateLoginUrl and the callback flow that lacked assertOidcLoginEnabled. This issue is fixed in versions 1.123.76, 2.37.7 and 2.38.2.
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
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-74272
GHSA-pf83-w3f9-8m37
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB