CVE-2026-56776

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*

History

08 Jul 2026, 19:27

Type Values Removed Values Added
References () https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53 - () https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53 - Mitigation, Vendor Advisory
References () https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-workflow-test-run-endpoint - () https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-workflow-test-run-endpoint - Third Party Advisory
CPE cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
First Time N8n
N8n n8n

08 Jul 2026, 14:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-08 14:17

Updated : 2026-07-09 16:16


NVD link : CVE-2026-56776

Mitre link : CVE-2026-56776

CVE.ORG link : CVE-2026-56776


JSON object : View

Products Affected

n8n

  • n8n
CWE
CWE-863

Incorrect Authorization