# CVE-2026-56776: n8n authorization bypass in workflow test-run endpoint

Source: https://junglewise.ai/threats/cve-2026-56776-n8n-authorization-bypass-in-workflow-test-run-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-08. Updated: 2026-07-08  
License: CC BY 4.0 with a link back

CVE-2026-56776 · Severity: high · CVSS 7.4 · Published 2026-07-08

n8n is a workflow automation tool used to connect various business applications and automate tasks. A security flaw allows users who should only be able to view workflows to actually run them. This could lead to unauthorized data changes, unintended emails or messages being sent, and other side effects in connected business systems.

Technologies: [N8n](https://junglewise.ai/threats/technologies/n8n), [n8n (npm)](https://junglewise.ai/threats/technologies/npm-n8n). Vendors: [N8n](https://junglewise.ai/threats/vendors/n8n), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-56776 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-56776 being exploited in the wild.

**How severe is CVE-2026-56776?** High severity, with a CVSS score of 7.4, published 8 July 2026.

**Which products and versions are affected?** N8n < 1.123.55, < 2.25.7, < 2.26.2; n8n (npm) SEMVER:introduced=0,fixed=1.123.55.

**Is there a fix for CVE-2026-56776?** Yes. n8n (npm): upgrade to 1.123.55 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-56776 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-56776?** Check whether you run N8n or n8n (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- n8n (npm): upgrade to 1.123.55 or later

  ```sh
  npm install n8n@1.123.55
  ```


## Technical details

An authorization bypass exists in the POST /workflows/{workflowId}/test-runs/new endpoint of n8n. The application incorrectly validates the 'workflow:read' scope instead of the required 'workflow:execute' scope when a user attempts to trigger a new evaluation test run. An authenticated attacker with low privileges (read-only access) can exploit this to trigger a real execution of a workflow via the internal runner. This can result in unintended outbound API calls and data mutations in any downstream systems connected to the workflow. The vulnerability is fixed in versions 1.123.55, 2.25.7, and 2.26.2.

## Affected products

- n8n n8n < 1.123.55, < 2.25.7, < 2.26.2

## Identifiers

- CVE-2026-56776
- GHSA-hv7x-3x78-gx53

## Timeline

- 2026-06-10: advisory: GitHub Security Advisory published
- 2026-07-08: disclosed: NVD publication date

## References

- [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)

## Related threats

- [n8n path traversal in Databricks node](https://junglewise.ai/threats/cve-2026-119557-n8n-from-2-14-0-through-2-46-3-contains-a-path-traversal)
- [n8n remote code execution in deprecated Function nodes](https://junglewise.ai/threats/cve-2026-119408-n8n-before-2-42-6-2-43-x-before-2-43-3-and-3-x-before-3-0-1)
- [n8n Slack Trigger SSRF and token exfiltration](https://junglewise.ai/threats/cve-2026-118679-n8n-before-1-123-83-2-41-4-and-2-42-1-contains-a-server-side)
- [n8n prototype pollution in workflow history compaction](https://junglewise.ai/threats/cve-2026-118678-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-prototype)
- [n8n Local Gateway deep-link missing confirmation re-pairing](https://junglewise.ai/threats/cve-2026-118677-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-missing)
