---
id: CVE-2026-86996
title: n8n is an open source workflow automation platform
summary: >-
  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 too…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-862
vendor: n8n
product: n8n
affected:
  - n8n < 2.37.7
  - 'n8n >= 2.38.0, < 2.38.2'
patched:
  - n8n 2.38.2
published: '2026-09-08'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T20:54:58.743'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-86996'
references:
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2'
    label: security-advisories@github.com
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-7hgx-277f-7vmg'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-7hgx-277f-7vmg'
tags:
  - nvd
  - cve.org
  - ghsa
  - npm
epss: 0.00294
epssPercentile: 0.19655
aliases:
  - GHSA-7hgx-277f-7vmg
ecosystem: npm
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-09T13:51:38.290871Z'
scores:
  nvd: 5.4
  cna: 5.3
ingestedAt: '2026-09-08T22:12:30.967Z'
---

## Overview

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.

## Affected

- `n8n < 2.37.7`
- `n8n >= 2.38.0, < 2.38.2`

## Remediation

Upgrade past the affected range:

- `n8n 2.38.2`

## Package advisory (CVE-2026-86996)

Affected packages:

- `n8n >= 2.38.0, < 2.38.2`
- `n8n < 2.37.7`

Patched in:

- `n8n 2.38.2`
- `n8n 2.37.7`

Source: https://github.com/advisories/GHSA-7hgx-277f-7vmg
