{"id":"GHSA-7hgx-277f-7vmg","revision":"42975cbfdc79415c95febe490cc29f10","records":[{"revision":"42975cbfdc79415c95febe490cc29f10","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-7hgx-277f-7vmg","aliases":["CVE-2026-86996"],"title":"n8n: Agent Workflow Tool Bypasses Sub-Workflow Caller Policy","description":"## Impact\n\nA workflow's \"_This workflow can be called by_\" setting was enforced by the Execute Workflow node but was not consulted when the same workflow was attached to an Agent as a tool. A user who could build an Agent could therefore call a workflow that its owner had restricted, and read back what it returned. The patch applies the sub-workflow caller policy on the Agent tool path.\n\n## Patches\n\nThe issue has been fixed in n8n versions 2.37.7 and 2.38.2. Users should upgrade to one of these versions or later to remediate the vulnerability.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Audit workflows attached as Agent tools and review their caller policy settings.\n- Remove sensitive workflows from Agent tool configurations until the instance is patched.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","state":0,"publishedAt":"2026-09-08T21:33:47+00:00","modifiedAt":"2026-09-08T21:56:03.059282+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.38.0"},{"kind":"fixed","version":"2.38.2"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.37.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-7hgx-277f-7vmg","https://github.com/n8n-io/n8n","https://github.com/n8n-io/n8n/releases/tag/n8n@2.37.7","https://github.com/n8n-io/n8n/releases/tag/n8n@2.38.2"],"sourceUrl":"https://github.com/advisories/GHSA-7hgx-277f-7vmg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7hgx-277f-7vmg","identifiers":["GHSA-7hgx-277f-7vmg","CVE-2026-86996"]},"retained":false,"historicalAffected":[]}],"coverage":[]}