CVE-2026-72773
JSON

4.9medium

n8n before 2.32.1 Path Traversal via computer-use search_files

Severity
4.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.57% (higher than 41% of CVEs)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-pf2q-pxhf-hgmw

Description

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

Product or packageVersionsReported by
n8n-io n8nfrom 2.32.0 before 2.32.1, before 2.31.5
Not affected: 2.32.1, 2.31.5
CVE List
n8n (npm)from 2.32.0 before 2.32.1, before 2.31.5GitHub Advisory Database
n8n n8nbefore 2.31.5, 2.32.0NVD

All scores

VulnCheck4.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
NVD7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

Impact

The component @n8n/computer-use file-search tool confined searches to a configured base directory. A crafted search pattern could bypass the confinement check and expand to locations outside that directory, causing the tool to return the names and contents of files anywhere the daemon's OS user could read. Any deployment where an actor could influence the tool's search input was affected; the result was disclosure of arbitrary local files outside the intended sandbox.

Patches

The issue has been fixed in n8n versions 2.31.5 and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Disable or remove AI agent workflows that use the computer-use package until the instance is patched.
  • Ensure the n8n process runs under a dedicated low-privilege user account to limit the files accessible outside the sandbox.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

NVD (es)

n8n antes de 2.31.5 y 2.32.x antes de 2.32.1 contienen una elusión de confinamiento de ruta en la herramienta de búsqueda de archivos (search_files) @n8n/computer-use. Un patrón de búsqueda manipulado puede eludir la verificación de confinamiento del directorio base y expandirse a ubicaciones fuera del directorio configurado, haciendo que la herramienta devuelva los nombres y contenidos de archivos locales arbitrarios legibles por el usuario del sistema operativo del demonio. Cualquier despliegue donde un actor pueda influir en la entrada de búsqueda de la herramienta se ve afectado.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72773 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-pf2q-pxhf-hgmw changed 2026-08-12CC-BY-4.0
NVDCVE-2026-72773 changed 2026-10-29Public domain