# CVE-2026-56776: n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint

> CVE-2026-56776: n8n - Incorrect OAuth Scope Validation in Workflow Test Run Endpoint. CVSS 7.4 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-56776
Last updated: 2026-07-09T16:16:45Z

- Published: 2026-07-08 13:49 UTC · Updated: 2026-07-09 16:16 UTC · Assigner: VulnCheck
- CVSS: 7.4 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- EPSS: 0.28%, 20th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-863

## 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.

## Affected vendors and products

- n8n: n8n

## Tracked companies

- [n8n](https://rewindex.com/company/n8n.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-56776)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-56776)
- [https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53](https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53)
- [https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-workflow-test-run-endpoint](https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-workflow-test-run-endpoint)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-56776 · Markdown: https://rewindex.com/cve/CVE-2026-56776.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-56776 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:40.463Z
