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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-06-16T18:59:58.000Z
- Modified: 2026-10-29T21:15:59.462Z
- Also known as: GHSA-hv7x-3x78-gx53
- Weaknesses: CWE-284, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- n8n n8n: before 1.123.55; from 2.26.0 before 2.26.2; from 2.0.0-rc.0 before 2.25.7; from 2.0.0 before 2.25.7 (not affected: 1.123.55; 2.26.2; 2.25.7)
- n8n (npm): before 1.123.55; from 2.26.0 before 2.26.2; from 2.0.0-rc.0 before 2.25.7

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-hv7x-3x78-gx53> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/n8n-incorrect-oauth-scope-validation-in-workflow-test-run-endpoint> (third-party-advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-56776](https://www.cve.org/CVERecord?id=CVE-2026-56776), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-hv7x-3x78-gx53](https://github.com/advisories/GHSA-hv7x-3x78-gx53), CC-BY-4.0, modified 2026-07-09
- NVD: [CVE-2026-56776](https://nvd.nist.gov/vuln/detail/CVE-2026-56776), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-56776 · Whole record: https://cve.day/CVE-2026-56776.json · Rebuilt by cve.day 2026-11-25T22:59:27.371Z
