n8n before 2.31.5 and 2.32.x before 2.32.1 contain a path-confinement bypass in the @n8n/computer-use file-search (search_files) tool. A crafted search pattern can bypass the base-directory confinement check and expand to locations outside the configured directory, causing the tool to return the names and contents of arbitrary local files readable by the daemon's OS user. Any deployment where an actor can influence the tool's search input is affected.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/n8n-io/n8n/security/advisories/GHSA-pf2q-pxhf-hgmw Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 4.9 · n8nNVD modified 2026-10-23 19:10
Affected (CPE criteria) 2
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*cpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:*
References 2
- https://github.com/n8n-io/n8n/security/advisories/GHSA-pf2q-pxhf-hgmw Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/n8n-before-path-traversal-via-computer-use-search-files Third Party Advisory