CVE-2026-86996
Description
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.
How to fix
- n8n n8n2.37.7, 2.38.2 or later
- n8n2.38.2, 2.37.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n n8n | v < 2.37.7, 2.38.0 ≤ v < 2.38.2 | 2.37.7, 2.38.2 |
| n8nnpm | 2.38.0 ≤ v < 2.38.2, v < 2.37.7 | 2.38.2, 2.37.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.