8.7high
n8n - Arbitrary Command Execution via Execute Command Node
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-365g-vjw2-grx8
Description
The Execute Command node in n8n allows authenticated users to execute arbitrary commands on the host system where n8n runs. Attackers with user access or compromised credentials can exploit this node to run malicious commands, potentially leading to data exfiltration, service disruption, or complete system compromise.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n n8n | up to 1.114.4 | CVE List |
| n8n-nodes-base (npm) | up to 1.113.0 | GitHub Advisory Database |
| n8n (npm) | up to 1.114.4 | GitHub Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
The Execute Command node in n8n allows authenticated users to execute arbitrary commands on the host system where n8n runs. Attackers with user access or compromised credentials can exploit this node to run malicious commands, potentially leading to data exfiltration, service disruption, or complete system compromise.
GitHub Advisory Database
Impact
The Execute Command node in n8n allows execution of arbitrary commands on the host system where n8n runs. While this functionality is intended for advanced automation and can be useful in certain workflows, it poses a security risk if all users with access to the n8n instance are not fully trusted.
An attacker—either a malicious user or someone who has compromised a legitimate user account—could exploit this node to run arbitrary commands on the host machine, potentially leading to data exfiltration, service disruption, or full system compromise.
This vulnerability affects all n8n deployments where:
- The
Execute Commandnode is enabled, and - Not all user accounts are strictly controlled and trusted.
n8n.cloud is not impacted.
Patches
No code changes have been made to alter the behavior of the Execute Command node. The recommended mitigation is to disable the node by default in environments where it is not explicitly required.
Future n8n versions may change the default availability of this node.
Workarounds
Administrators can disable the Execute Command node by setting the following environment variable before starting n8n:
export NODES_EXCLUDE: "[\"n8n-nodes-base.executeCommand\"]"
References
n8n docs: Execute Command n8n docs: Blocking nodes
NVD (es)
El nodo Execute Command en n8n permite a los usuarios autenticados ejecutar comandos arbitrarios en el sistema anfitrión donde se ejecuta n8n. Atacantes con acceso de usuario o credenciales comprometidas pueden explotar este nodo para ejecutar comandos maliciosos, lo que podría llevar a la exfiltración de datos, la interrupción del servicio o el compromiso total del sistema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71380 changed 2026-07-06 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-365g-vjw2-grx8 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2025-71380 changed 2026-10-06 | Public domain |