| Component | n8n |
| Severity | medium (CVSS 5.4) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Published (NVD) | 2026-09-08 |
| Last modified | 2026-09-10 |
| Affected versions | < 2.37.7 >= 2.38.0, < 2.38.2 from the GitHub-reviewed advisory GHSA-7hgx-277f-7vmg |
| Fixed in | 2.37.7, 2.38.2 |
| Weakness | CWE-862 |
| CISA KEV | not listed |
Versions, checked against NVD
NVD's analysis gives the same ranges as the GitHub-reviewed advisory GHSA-7hgx-277f-7vmg.
NVD 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.
What to do
- Upgrade n8n to the fixed release of the branch you run:
2.37.7or2.38.2, or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2026-86996
- https://github.com/n8n-io/n8n/security/advisories/GHSA-7hgx-277f-7vmg
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2