CVE-2026-56776 n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 1.123.55; >= 2.0.0, < 2.25.7; >= 2.26.0, < 2.26.2 | 1.123.55, 2.25.7, 2.26.2 | Fixed |
| npm n8n | < 1.123.55; >= 2.0.0-rc.0, < 2.25.7; >= 2.26.0, < 2.26.2 | 1.123.55, 2.25.7, 2.26.2 | Fixed |
| npm n8n(npm) | < 1.123.55; >= 2.0.0-rc.0, < 2.25.7; >= 2.26.0, < 2.26.2 | 1.123.55, 2.25.7, 2.26.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm n8n | < 1.123.55 | 1.123.55 |
| npm n8n | >= 2.26.0, < 2.26.2 | 2.26.2 |
| npm n8n | >= 2.0.0-rc.0, < 2.25.7 | 2.25.7 |
| n8n | < 1.123.55 | 1.123.55 |
| n8n | >= 2.0.0, < 2.25.7 | 2.25.7 |
| n8n | >= 2.26.0, < 2.26.2 | 2.26.2 |
| npm n8n(npm) | < 1.123.55 | 1.123.55 |
| npm n8n(npm) | >= 2.26.0, < 2.26.2 | 2.26.2 |
| npm n8n(npm) | >= 2.0.0-rc.0, < 2.25.7 | 2.25.7 |
References
- GitHub Security Advisory (GHSA-hv7x-3x78-gx53) mitigation vendor-advisory
- VulnCheck Advisory: n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint third-party-advisory
- github.com product
- ENISA EUVD EUVD-2026-42263 third-party-advisory