Description
n8n before 1.123.55, 2.25.7, and 2.26.2 contains an authorization vulnerability in three mutating evaluation test-run endpoints that authorize state-changing actions using the workflow:read scope instead of the action-appropriate workflow:execute scope. On instances using Advanced Permissions (Enterprise/Cloud) with projects and viewer roles, an authenticated user with the project:viewer role can start new evaluation test runs, cancel in-flight runs, and delete run records for workflows they only have read access to.
Problem types
Product status
Any version before 1.123.55
1.123.55 (semver)
Any version before 2.26.2
2.26.2 (semver)
Any version before 2.25.7
2.25.7 (semver)
Credits
YLChen-007
References
github.com/...io/n8n/security/advisories/GHSA-664h-gpgq-h6xx (GitHub Security Advisory (GHSA-664h-gpgq-h6xx))
www.vulncheck.com/...ation-in-evaluation-test-runs-endpoints (VulnCheck Advisory: n8n - Incorrect OAuth Scope Validation in Evaluation Test Runs Endpoints)