CVE-2026-56776 PUBLISHED

n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint

Assigner: VulnCheck
Reserved: 23.06.2026 Published: 08.07.2026 Updated: 08.07.2026

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.

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor n8n
Product n8n
Versions Default: unaffected
  • affected from 0 to 1.123.55 (excl.)
  • Version 1.123.55 is unaffected
Vendor n8n
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.26.2 (excl.)
  • Version 2.26.2 is unaffected
Vendor n8n
Product n8n
Versions Default: unaffected
  • affected from 0 to 2.25.7 (excl.)
  • Version 2.25.7 is unaffected

Credits

  • 34selen reporter

References

Problem Types

  • Incorrect Authorization CWE