{"id":"CVE-2026-56775","aliases":["CVE-2026-56775","GHSA-664h-gpgq-h6xx"],"related":[],"kind":"vulnerability","state":"published","title":"n8n - Incorrect OAuth Scope Validation in Evaluation Test Runs Endpoints","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\nThree mutating endpoints in the evaluation test runs controller authorized state-changing actions using `workflow:read` instead of the action-appropriate `workflow:execute` scope. An authenticated user with `project:viewer` role on a project could start new evaluation test runs, cancel in-flight runs, and delete run records for workflows they only had read access to.\n\nThis issue only affects instances with Advanced Permissions (Enterprise/Cloud) where projects and viewer roles are in use.\n\n## Patches\nThe issue has been fixed in n8n versions 1.123.55, 2.25.7, and 2.26.2. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict project membership to fully trusted users only.\n- Avoid granting viewer access to projects containing sensitive workflows.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","format":"markdown","source":"ghsa"}],"published":"2026-06-17T13:55:59.000Z","modified":"2026-10-29T21:15:58.761Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:N","rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.123.55","status":"affected"},{"type":"semver","version":"1.123.55","status":"unaffected"}],"vendor":"n8n","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.26.0","fixed":"2.26.2","status":"affected"},{"type":"semver","version":"2.26.2","status":"unaffected"}],"vendor":"n8n","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","fixed":"2.25.7","status":"affected"},{"type":"semver","version":"2.25.7","status":"unaffected"}],"vendor":"n8n","product":"n8n","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.123.55"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.26.0","status":"affected","fixed":"2.26.2"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0-rc.0","status":"affected","fixed":"2.25.7"}],"ecosystem":"npm","package":"n8n","purl":"pkg:npm/n8n","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.123.55"},{"status":"affected","introduced":"2.0.0","fixed":"2.25.7"},{"status":"affected","introduced":"2.26.0","fixed":"2.26.2"}],"vendor":"n8n","product":"n8n","cpe":"cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-664h-gpgq-h6xx","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-evaluation-test-runs-endpoints","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/n8n-io/n8n","tags":["package"],"sources":["ghsa"]}],"credits":["YLChen-007"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-08T14:31:14.368Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-56775","url":"https://www.cve.org/CVERecord?id=CVE-2026-56775","licence":"CVE Terms of Use","modified":"2026-10-29T21:15:58.761Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-664h-gpgq-h6xx","url":"https://github.com/advisories/GHSA-664h-gpgq-h6xx","licence":"CC-BY-4.0","modified":"2026-07-09T04:11:38.324Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-56775","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56775","licence":"Public domain","modified":"2026-10-29T19:17:23.020Z"}],"updatedAt":"2026-11-25T22:59:27.370Z","epss":{"score":0.00221,"percentile":0.13477,"date":"2026-12-01T12:00:22.000Z"}}