Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with project:viewer credentials
-
DeliveryIdentify target workflow via read-access
-
ExploitCraft POST/DELETE request to evaluation test-run endpoint
-
ExecutionServer checks workflow:read scope (granted) instead of workflow:execute
-
PersistStart, cancel, or delete test run without execute authorization
-
ImpactDisrupt workflow operations or destroy audit records
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. |
| Exploitation Conditions | Exploitation requires all of the following conditions simultaneously: (1) the target n8n instance must be running the Enterprise or Cloud tier with the Advanced Permissions feature enabled and projects configured - community self-hosted instances without this feature are not affected; (2) the attacker must hold a valid authenticated session with at least the project:viewer role assigned within a project containing the target workflow; (3) the target workflows must have evaluation test-run records or be in a state where test runs can be initiated. Exploitation is limited to the three mutating evaluation test-run endpoints (start, cancel, delete) and does not extend to other workflow operations. The flaw does not enable unauthenticated access, does not escalate to workflow:execute for general workflow triggering beyond the test-run context, and does not expose workflow content or credentials (VC:N in CVSS 4.0). |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L) positions this as a moderate-severity authenticated flaw with low impacts on integrity and availability and no confidentiality exposure. The PR:L metric confirms exploitation requires a valid authenticated session with at least a project:viewer role - unauthenticated exploitation is not possible. A critical limiting factor absent from the base score is that the vulnerability only manifests on n8n instances running the Enterprise or Cloud tier with Advanced Permissions and project-based viewer roles actively configured; standard community self-hosted deployments with flat permissions are unaffected. No CISA KEV listing and no public exploit code have been identified, and EPSS data is not provided, so exploitation probability signals are absent. Real-world priority is moderate for affected Enterprise/Cloud customers specifically, but low for the broader n8n user base. The primary risk is insider privilege escalation: a legitimate but low-privileged user intentionally or accidentally disrupting automated workflows by triggering, cancelling, or deleting test runs they have no business authority over. |
| Exploit ScenarioDerived | An internal user assigned the project:viewer role on a sensitive workflow in an n8n Enterprise instance authenticates normally and discovers that the evaluation test-run API endpoints accept their workflow:read-scoped session token for state-changing requests. The user sends a crafted POST request to start a new evaluation test run against a production workflow they have no execute authority over, causing unintended execution side effects, or sends a DELETE request to purge historical run records needed for compliance auditing - all without triggering any authorization error. No exploit code is publicly available, but the attack requires only standard API knowledge and a valid low-privilege session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Incorrect authorization in n8n's evaluation test-run API endpoints allows authenticated project viewers to perform state-changing operations reserved for users with execute permissions. On Enterprise and Cloud deployments running Advanced Permissions with projects and viewer roles configured, an authenticated project:viewer can start new evaluation test runs, cancel in-flight runs, and delete run records for workflows they have only read access to - bypassing the intended workflow:execute scope gate. No public exploit code or CISA KEV listing exists at time of analysis, but the CVSS 4.0 score of 5.3 (PR:L) reflects the authenticated, low-complexity nature of the flaw.
RemediationAI
The primary remediation is to upgrade n8n to a patched release: version 1.123.55 or later on the 1.x branch, version 2.25.7 or later on the 2.25.x branch, or version 2.26.2 or later on the 2.26.x branch. Full details are in the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-664h-gpgq-h6xx and the VulnCheck advisory at https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-evaluation-test-runs-endpoints. If immediate patching is not feasible, organizations can reduce exposure by auditing and tightening project:viewer role assignments - removing viewer roles from accounts that do not require them reduces the pool of principals who can trigger the mischecked endpoints. Note that disabling the evaluation test-run feature entirely (if operationally viable) would eliminate the attack surface for these three specific endpoints. There is no known workaround that preserves viewer access while fully blocking the misrouted scope check without patching.
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-based workflow automation platform offering both self-hosted and cloud-managed deployments. Its Enterprise and Cloud tiers introduce an Advanced Permissions system that partitions workflows into projects and assigns granular roles (e.g., project:viewer) with OAuth-style scope tokens - including workflow:read and workflow:execute. The vulnerability (CWE-863: Incorrect Authorization) arises because three mutating REST endpoints in the evaluation test-run feature incorrectly gate access using the workflow:read scope rather than the action-appropriate workflow:execute scope. This means the server-side authorization check passes for any user who can read the workflow, rather than requiring the execute privilege that state-changing operations demand. Affected versions span both the 1.x and 2.x release lines: all n8n releases prior to 1.123.55, 2.25.7, and 2.26.2.
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:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
PR:L for required viewer authentication; AC:H because exploitation is gated on Enterprise/Cloud Advanced Permissions with projects and viewer roles enabled.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
n8n before 1.123.55, 2.25.7, and 2.26.2 contains an authorization vulnerability in three mutating evaluation test-run endpoints that authorize state-changing actions using the workflow:read scope instead of the action-appropriate workflow:execute scope. On instances using Advanced Permissions (Enterprise/Cloud) with projects and viewer roles, an authenticated user with the project:viewer role can start new evaluation test runs, cancel in-flight runs, and delete run records for workflows they only have read access to.
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-42262
GHSA-w79j-mf7m-gfpm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB