CVE-2026-56776

HIGH

n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-hv7x-3x78-gx53)
https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53
Third Party Advisory third-party-advisory
VulnCheck Advisory: 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

Scores

CVSS v3 7.4
EPSS 0.0016
EPSS Percentile 5.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-863
Status published
Products (6)
n8n/n8n < 1.123.55 (2 CPE variants)
n8n/n8n < 2.25.7
n8n/n8n < 2.26.2
n8n/n8n 1.123.55
n8n/n8n 2.25.7
n8n/n8n 2.26.2
Published Jul 08, 2026
Tracked Since Jul 08, 2026