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

This vulnerability allows an authenticated user with read-only access to a workflow to trigger a real evaluation test run. The POST /workflows/{workflowId}/test-runs/new endpoint incorrectly authorizes the operation using the workflow:read scope rather than the required workflow:execute scope. The result is that the workflow runs via the internal runner, producing outbound API calls, data mutations, or other side effects in downstream systems. The weakness is an example of CWE-863: Misplaced or Inadequate Authorization.

Affected Systems

n8n instances with versions 1.123.55 and earlier, 2.25.7 and earlier, and 2.26.2 and earlier are affected. The issue is most relevant for deployments that enable the Evaluations feature and where RBAC project roles grant workflow:read without workflow:execute.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. The EPSS score of < 1% indicates a very low exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an authenticated POST request to the test-run endpoint by any user holding workflow:read privileges, allowing the attacker to execute the workflow and cause unintended side effects without needing elevated permissions.

Generated by OpenCVE AI on July 26, 2026 at 17:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to n8n 1.123.55 or later, or 2.26.2 or later. The patch restores proper scope validation for the test-run endpoint.
  • Review and adjust RBAC assignments so that the workflow:read privilege is only granted to users who should not be able to trigger workflow executions; ensure that workflow:execute is required for validation.
  • If upgrading is not immediately possible, temporarily disable the Evaluations feature or block the POST /workflows/{workflowId}/test-runs/new endpoint through network or API gateway controls to prevent unintended executions.

Generated by OpenCVE AI on July 26, 2026 at 17:53 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T18:00:05Z

Weaknesses