Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS v4.0 score of 6.3 reflects a network-accessible vulnerability with low attack complexity and partial temporal factors, indicating moderate severity. However, the CVSS vector details (AV:N/AC:L/AT:P) show that exploitation requires some preparatory work (AT:P - attacker-targeted) and no privileges, making it more feasible than baseline metrics suggest. The real-world risk is substantially mitigated by three factors: First, the vulnerability only affects non-default configurations where N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true is explicitly enabled—a deliberate opt-in setting used in specific deployment scenarios such as reverse-proxy authentication bypass. Second, the vulnerability requires user interaction (UI:N in CVSS indicates no user interaction for the initial attack, but the scenario description indicates the victim must complete an OAuth flow, suggesting social engineering is necessary). Third, a patch has been released in version 2.8.0, and the issue is tracked on GitHub's security advisory system. For organizations running default n8n configurations, risk is negligible; for those with the flag enabled, the risk is elevated but manageable through upgrade or compensating controls. |
| Exploit ScenarioDerived | An attacker creates an n8n instance and initiates an OAuth connection flow for a third-party service (such as Google Drive or GitHub). The attacker crafts a malicious URL containing their own OAuth state parameter and social engineers a victim into clicking the link. When the victim authenticates with the OAuth provider and the callback returns to the victim's n8n instance (which has N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true enabled), the compromised handler skips state validation and stores the victim's OAuth tokens in the attacker's credential object. The attacker can now use those tokens to access the victim's data and execute workflows on behalf of the victim's OAuth account, potentially exfiltrating sensitive information or triggering unintended actions. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 25, 2026
This vulnerability in n8n (an open-source workflow automation platform) is an authentication bypass in the OAuth callback handler that occurs when the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK environment variable is explicitly set to true. An attacker can manipulate the OAuth state parameter verification to trick a victim into completing an OAuth flow that stores the victim's OAuth tokens in an attacker-controlled credential object, allowing the attacker to execute workflows using the victim's delegated permissions. The vulnerability affects n8n versions prior to 2.8.0 and requires non-default configuration to be exploitable, limiting its widespread impact but creating significant risk for affected deployments.
RemediationAI
Organizations should upgrade n8n to version 2.8.0 or later, which includes the fix for OAuth state parameter ownership verification. For environments where immediate patching is not feasible, administrators should implement the following mitigations as temporary measures: disable the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK environment variable entirely (return to default secure configuration), restrict network access to the n8n instance to fully trusted users and networks only, and implement additional OAuth validation at any reverse proxy or load balancer layer if one exists. Note that these workarounds do not fully eliminate the vulnerability and should be used only until patching is completed. Refer to the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-vpgc-2f6g-7w7x for detailed guidance.
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
The vulnerability is rooted in CWE-863 (Incorrect Authorization), specifically an improper authorization check in the OAuth callback handler. OAuth implementations rely on state parameters to prevent Cross-Site Request Forgery (CSRF) attacks by validating that the state returned by the authorization server matches the state originally issued to the client. In n8n, when N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true is set, the handler bypasses ownership verification of the OAuth state parameter, breaking the fundamental CSRF protection mechanism. This allows an attacker to initiate an OAuth flow, intercept the callback, and redirect the victim's authorization response to a credential object under attacker control. The affected product is n8n-io/n8n (cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*) prior to version 2.8.0.
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:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
n8n is an open source workflow automation platform. Prior to version 2.8.0, when the N8N_SKIP_AUTH_ON_OAUTH_CALLBACK environment variable is set to true, the OAuth callback handler skips ownership verification of the OAuth state parameter. This allows an attacker to trick a victim into completing an OAuth flow against a credential object the attacker controls, causing the victim's OAuth tokens to be stored in the attacker's credential. The attacker can then use those tokens to execute workflows in their name. This issue only affects instances where N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true is explicitly configured (non-default). The issue has been fixed in n8n version 2.8.0. Users should upgrade to this version or later to remediate the vulnerability. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Avoid enabling N8N_SKIP_AUTH_ON_OAUTH_CALLBACK=true unless strictly required, and/ or restrict access to the n8n instance to fully trusted users only. These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Executive ViewAI
Organizations using n8n should be aware of moderate risk from CVE-2026-33720, a incorrect authorization vulnerability rated CVSS 6.3. Attackers could gain access beyond their authorized level. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.
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-15952
GHSA-vpgc-2f6g-7w7x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB