CVE-2026-86996
MEDIUM 5.3CVSS 4.0n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller Policy
n8n is an open source workflow automation platform. Prior to 2.37.7 and 2.38.2, the workflow setting named This workflow can be called by was enforced by the Execute Workflow node but not when a workflow was attached to an Agent as a tool. A user able to build an Agent could invoke a restricted workflow and read its returned data. The affected path is packages/cli/src/modules/agents/tools/workflow-tool-factory.ts, where executeWorkflow omitted SubworkflowPolicyChecker.checkForProject. This issue is fixed in versions 2.37.7 and 2.38.2.
- Published
- 8 Sep 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- GHSA-7hgx-277f-7vmg
- Sources
- NVDJSONOSV GHSA-7hgx-277f-7vmgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 2.37.7 | 2.37.7 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 2.38.0, < 2.38.2 | 2.38.2 |
| OSV | npm | n8n | >= 2.38.0, < 2.38.2 | 2.38.2 |
| OSV | npm | n8n | < 2.37.7 | 2.37.7 |
References
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7 · Release Notes, WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2 · Release Notes, WEB
- https://github.com/n8n-io/n8n/security/advisories/GHSA-7hgx-277f-7vmg · Mitigation, Vendor Advisory, WEB
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 8 Sep 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Sep 2026)