Skip to content
MediumVulnerability

GHSA-7hgx-277f-7vmg: n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller Policy

Published
Record updated
View JSON
Affected
  • n8n < 2.37.7, fixed in 2.37.7, released September 2, 2026, 6 days before disclosure
  • n8n >= 2.38.0, < 2.38.2, fixed in 2.38.2, released September 2, 2026, 6 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

n8n's sub-workflow caller policy, set by the "_This workflow can be called by_" option, was enforced by the Execute Workflow node but not when the same workflow was attached to an Agent as a tool. Any user who could build an Agent could call a workflow its owner had restricted and read its output. The issue is fixed in n8n 2.37.7 and 2.38.2.

Mitigation

Fixed in n8n 2.37.7 and 2.38.2; upgrade to one of these versions or later. Until then, restrict instance access to fully trusted users, audit workflows attached as Agent tools and review their caller policy settings, and remove sensitive workflows from Agent tool configurations. These workarounds do not fully remediate the risk.