Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n8n-io / n8n | affected 0 before 2.32.1; unaffected 2.32.1 |
| n8n-io / n8n | affected 0 before 2.31.5; unaffected 2.31.5 |
CWE
CWE-22
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-pf2q-pxhf-hgmw
- https://www.vulncheck.com/advisories/n8n-before-path-traversal-via-computer-use-search-files
ADP enrichment
No English description supplied.
No references supplied.