n8n: Path-Confinement Bypass
Affects n8nSource GCVE Database
CVSS 4.9 Medium : upgrade to 2.32.1 when convenient.
Data as of 22 Jul 2026, 23:26 UTC
- Patch
- Available – fixed in 2.32.1, 2.31.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:NWhat 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 to remediate the vulnerability. If immediate upgrade is not possible, temporary mitigations include restricting n8n instance access to fully trusted users, disabling or removing AI agent workflows using the 'computer-use' package, and running the n8n process under a dedicated low-privilege user account. These workarounds do not fully eliminate the risk and should only be used as short-term measures.
Description
A path-confinement bypass vulnerability exists in the n8n component '@n8n/computer-use' file-search tool. This flaw allows crafted search patterns to escape the configured base directory, enabling reading of arbitrary files accessible to the daemon's OS user outside the intended sandbox. The issue affects deployments where an attacker can influence the search input. Fixed in n8n versions 2.31.5 and 2.32.1, users should upgrade to these or later versions. Temporary mitigations include restricting access to trusted users, disabling affected workflows, and running n8n under a low-privilege user account.