CVE-2026-56776
CVE-2026-56776 · n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
n8n
- Versions
- ≥ 0, < 1.123.55: Affected (semver)
- 1.123.55: Not affected (semver)
Update to 1.123.55
n8n
- Versions
- ≥ 0, < 2.26.2: Affected (semver)
- 2.26.2: Not affected (semver)
Update to 2.26.2
n8n
- Versions
- ≥ 0, < 2.25.7: Affected (semver)
- 2.25.7: Not affected (semver)
Update to 2.25.7
n8n npm
- Affected ranges
- SEMVER: < 1.123.55
Update to 1.123.55
n8n npm
- Affected ranges
- SEMVER: ≥ 2.26.0, < 2.26.2
Update to 2.26.2
n8n npm
- Affected ranges
- SEMVER: ≥ 2.0.0-rc.0, < 2.25.7
Update to 2.25.7