CVE-2026-86996

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductN8n
PublishedSep 8, 2026
First seenSep 8, 2026

How to fix

Update
  • n8n n8n2.37.7, 2.38.2 or later
  • n8n2.38.2, 2.37.7 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 2.37.7, 2.38.0 ≤ v < 2.38.22.37.7, 2.38.2
n8nnpm2.38.0 ≤ v < 2.38.2, v < 2.37.72.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.