Description
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.
Published: 2026-07-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw in n8n allows an authenticated user who only has workflow‑read permissions to request a test execution of a workflow. The POST /workflows/{workflowId}/test‑runs/new endpoint erroneously authorizes using the read scope instead of the required execute scope, which causes the internal workflow runner to perform the full workflow with its configured outbound calls, data writes, or other side effects.

Affected Systems

All n8n installations running 1.123.55 or earlier, or 2.25.7 or earlier, or 2.26.2 or earlier are vulnerable. The issue is most relevant when the Evaluations feature is enabled and RBAC project roles grant workflow‑read rights while denying workflow‑execute rights.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. With an EPSS score of less than 1% the likelihood of exploitation is very low, and the vulnerability is not listed in the CISA KEV catalog. An attacker only needs to authenticate and possess workflow‑read permissions on a target workflow to trigger a full execution through the test‑run endpoint.

Generated by OpenCVE AI on August 1, 2026 at 16:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to n8n 1.123.55 or newer, or to 2.26.2 or newer, which corrects the scope validation for the test‑run endpoint.
  • Modify RBAC assignments to ensure that any role granted workflow‑read does not have workflow‑execute; enforce the execute scope for real workflow runs.
  • If a version upgrade cannot be performed immediately, disable the Evaluations feature or block the POST /workflows/{workflowId}/test‑runs/new endpoint with network or API‑gateway controls to prevent unintended executions.

Generated by OpenCVE AI on August 1, 2026 at 16:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 09 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description 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.
Title n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint
First Time appeared N8n
N8n n8n
Weaknesses CWE-863
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-09T14:55:45.087Z

Reserved: 2026-06-23T01:22:22.571Z

Link: CVE-2026-56776

cve-icon Vulnrichment

Updated: 2026-07-09T13:38:07.436Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-08T14:17:17.553

Modified: 2026-07-09T16:16:45.600

Link: CVE-2026-56776

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T16:30:04Z

Weaknesses