CVE-2026-72773
MEDIUM 4.9CVSS 4.0n8n: Path-Confinement Bypass in computer-use search_files Allows Reading Files Outside the Base Directory
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.
- Published
- 11 Aug 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-pf2q-pxhf-hgmw
- Sources
- NVDJSONOSV GHSA-pf2q-pxhf-hgmwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 4.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 2.31.5 | 2.31.5 |
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:* |
= 2.32.0 | |
| OSV | npm | n8n | >= 2.32.0, < 2.32.1 | 2.32.1 |
| OSV | npm | n8n | < 2.31.5 | 2.31.5 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-pf2q-pxhf-hgmw · Mitigation, Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/n8n-before-path-traversal-via-computer-use-search-files · Third Party Advisory
- https://github.com/n8n-io/n8n · PACKAGE
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5 · WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 11 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jul 2026)