Skip to content
MediumVulnerability

GHSA-hv7x-3x78-gx53: n8n: Wrong OAuth Scope On Evaluations Test Run Creation Endpoint

Published
Record updated
View JSON
Affected
  • n8n < 1.123.55, fixed in 1.123.55, released June 10, 2026, 6 days before disclosure
  • n8n >= 2.26.0, < 2.26.2, fixed in 2.26.2, released June 10, 2026, 6 days before disclosure
  • n8n >= 2.0.0-rc.0, < 2.25.7, fixed in 2.25.7, released June 10, 2026, 6 days before disclosure

Summary

The POST /workflows/{workflowId}/test-runs/new endpoint in n8n checked workflow:read instead of workflow:execute. An authenticated user with read-only access could start a real evaluation test run, executing the workflow and causing unintended outbound API calls, data mutations or other side effects in connected systems. The issue mainly affects instances using the Evaluations feature where users hold workflow:read without workflow:execute, such as deployments using RBAC project roles.

Mitigation

Fixed in n8n versions 1.123.55, 2.25.7 and 2.26.2. Upgrade to one of these versions or later. If upgrading is not immediately possible, restrict workflow access to fully trusted users only and audit project role assignments, limiting workflow:read on sensitive workflows to users who are also permitted to execute them. The source notes these workarounds do not fully remediate the risk and are short-term measures only.