n8n: SSRF Protection Bypass via MCP Client Node
Affects n8nSource GCVE Database
CVSS 6.4 Medium : upgrade to 2.32.1 when convenient.
Data as of 22 Jul 2026, 23:28 UTC
- Patch
- Available – fixed in 2.32.1, 2.31.5
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:LWhat to do
Upgrade n8n to 2.32.1; n8n to 2.31.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmn8n | Affected
| Fixed in
|
| npmn8n | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in n8n versions 2.31.5 and 2.32.1; users should upgrade to one of these versions or later. If immediate upgrading is not possible, administrators should restrict n8n instance access to fully trusted users, disable the MCP Client node via the NODES_EXCLUDE environment variable, and restrict network egress from the n8n host to block access to internal and link-local address ranges. These workarounds are temporary and do not fully remediate the risk.
Description
A Server-Side Request Forgery (SSRF) protection bypass vulnerability exists in the MCP Client node of n8n. Authenticated users with workflow creation or editing permissions could exploit this to make the server connect to internal or blocked hosts, bypassing SSRF protections and potentially exposing internal services. The issue is fixed in n8n versions 2.31.5 and 2.32.1. Temporary mitigations include restricting access to trusted users, disabling the MCP Client node, and limiting network egress to internal address ranges.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-vhf8-cg2h-cg3p (opens in a new tab)
- github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f (opens in a new tab)
- github.com/n8n-io/n8n (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 (opens in a new tab)
- github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 (opens in a new tab)