CVE-2026-56776: n8n: workflow:read scope bypass triggers execution
HIGHn8n's evaluation test-run endpoint checks a workflow's read scope instead of its execute scope, so any authenticated user granted read-only access to a workflow — a common least-privilege RBAC assignment for auditors, contractors, or junior team members — can trigger a genuine execution of that workflow through the internal runner. Because n8n is widely deployed as the orchestration layer for AI agent pipelines wiring LLMs into CRMs, payment systems, and internal APIs, an attacker with nothing more than viewer access can force real outbound calls and data mutations in every system that workflow touches. There's no evidence of active exploitation — the CVE isn't in CISA KEV, no public exploit or Nuclei template exists, and EPSS scoring isn't yet available — but the flaw requires no user interaction and low attack complexity, and n8n already carries a middling risk profile (OpenSSF Scorecard 6.6/10, package risk score 69/100, 123 other disclosed CVEs), so it sits in a component with a track record of security gaps. Patch to n8n 1.123.55, 2.25.7, or 2.26.2 immediately; until then, audit every RBAC project role granting workflow:read on workflows tied to the Evaluations feature and treat that access as equivalent to execute for connected downstream systems.
What is the risk?
High-severity (CVSS 7.4) authorization bypass with network attack vector, low complexity, and no user interaction — the technical bar to exploit is trivial for anyone who already holds any authenticated account with read-only project access. The scope-changed vector (S:C) reflects that impact extends beyond the vulnerable component itself into whatever systems the workflow's nodes connect to (APIs, databases, messaging, payment). There is no CISA KEV listing, no public exploit code, and no Nuclei template, and EPSS is not yet scored, so exploitation-in-the-wild likelihood is currently low — but this is a logic flaw (CWE-863, incorrect authorization) that any user already inside the system can trigger without special tooling, making insider risk and detection gaps the primary concern rather than internet-scale scanning.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| n8n | npm | — | No patch |
Do you use n8n? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step-
1) Upgrade immediately to n8n 1.123.55, 2.25.7, or 2.26.2, which fix the scope check. 2) Until patched, audit all project roles and revoke or downgrade workflow:read grants on any workflow tied to Evaluations, or disable the Evaluations feature on instances that can't patch immediately. 3) Treat workflow:read as equivalent to workflow:execute in your risk model for any workflow connected to sensitive downstream systems (payment, email, data stores) and restrict such workflows to admin/owner roles. 4) Detection: monitor execution logs for test-run invocations from accounts that should only have read access, and alert on test-run triggers outside expected QA/evaluation windows. 5) Review GHSA-hv7x-3x78-gx53 and the VulnCheck advisory for updated detection guidance.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-56776?
n8n's evaluation test-run endpoint checks a workflow's read scope instead of its execute scope, so any authenticated user granted read-only access to a workflow — a common least-privilege RBAC assignment for auditors, contractors, or junior team members — can trigger a genuine execution of that workflow through the internal runner. Because n8n is widely deployed as the orchestration layer for AI agent pipelines wiring LLMs into CRMs, payment systems, and internal APIs, an attacker with nothing more than viewer access can force real outbound calls and data mutations in every system that workflow touches. There's no evidence of active exploitation — the CVE isn't in CISA KEV, no public exploit or Nuclei template exists, and EPSS scoring isn't yet available — but the flaw requires no user interaction and low attack complexity, and n8n already carries a middling risk profile (OpenSSF Scorecard 6.6/10, package risk score 69/100, 123 other disclosed CVEs), so it sits in a component with a track record of security gaps. Patch to n8n 1.123.55, 2.25.7, or 2.26.2 immediately; until then, audit every RBAC project role granting workflow:read on workflows tied to the Evaluations feature and treat that access as equivalent to execute for connected downstream systems.
Is CVE-2026-56776 actively exploited?
No confirmed active exploitation of CVE-2026-56776 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-56776?
1) Upgrade immediately to n8n 1.123.55, 2.25.7, or 2.26.2, which fix the scope check. 2) Until patched, audit all project roles and revoke or downgrade workflow:read grants on any workflow tied to Evaluations, or disable the Evaluations feature on instances that can't patch immediately. 3) Treat workflow:read as equivalent to workflow:execute in your risk model for any workflow connected to sensitive downstream systems (payment, email, data stores) and restrict such workflows to admin/owner roles. 4) Detection: monitor execution logs for test-run invocations from accounts that should only have read access, and alert on test-run triggers outside expected QA/evaluation windows. 5) Review GHSA-hv7x-3x78-gx53 and the VulnCheck advisory for updated detection guidance.
What systems are affected by CVE-2026-56776?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, workflow orchestration pipelines.
What is the CVSS score for CVE-2026-56776?
CVE-2026-56776 has a CVSS v3.1 base score of 7.4 (HIGH). The EPSS exploitation probability is 0.16%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012 Valid Accounts AML.T0053 AI Agent Tool Invocation AML.T0086 Exfiltration via AI Agent Tool Invocation Compliance Controls Affected
What are the technical details?
Original Advisory
n8n before 1.123.55, 2.25.7, and 2.26.2 contains an authorization bypass in the POST /workflows/{workflowId}/test-runs/new endpoint, which authorizes access using the workflow:read scope instead of workflow:execute. An authenticated user with read-only access to a workflow can trigger a real evaluation test run, causing the workflow to execute via the internal workflow runner and resulting in unintended outbound API calls, data mutations, or other side effects in connected downstream systems. The issue primarily affects instances using the Evaluations feature where RBAC project roles grant workflow:read without workflow:execute.
Exploitation Scenario
A contractor or junior analyst is given read-only access to a production n8n workflow so they can review its logic without being able to run it — a standard least-privilege pattern. That user calls POST /workflows/{workflowId}/test-runs/new directly against the API using their existing session or API key. Because the endpoint only checks workflow:read, the request is authorized, and n8n's internal workflow runner executes the workflow for real — not as a sandboxed dry-run. If the workflow is part of an AI agent pipeline that calls a paid LLM API, posts to Slack, writes records to a CRM, or triggers a payment webhook, all of those actions fire as if an authorized operator had intentionally executed the workflow, with no execute-level audit trail to distinguish it from a legitimate run.
Weaknesses (CWE)
CWE-863 — Incorrect Authorization: The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
- [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L References
Timeline
Related Vulnerabilities
CVE-2026-33663 10.0 n8n: member role steals plaintext HTTP credentials
Same package: n8n CVE-2026-33660 10.0 TensorFlow: type confusion NPD in tensor conversion
Same package: n8n CVE-2026-21858 10.0 n8n: Input Validation flaw enables exploitation
Same package: n8n CVE-2026-27577 9.9 n8n: Code Injection enables RCE
Same package: n8n CVE-2026-27494 9.9 n8n: security flaw enables exploitation
Same package: n8n