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.
Published: 2026-07-04
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

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. The flaw is a classic example of non‑restricted command execution (CWE‑284).

Affected Systems

The flaw affects the n8n workflow automation platform. All installations that expose the Execute Command node to authenticated users are vulnerable. This includes every version of n8n listed by the CNA, though no specific release versions are identified. Therefore, all current releases should be patched or otherwise mitigated.

Risk and Exploitability

The CVSS score of 8.7 marks the vulnerability as high severity. Exploitation requires only authenticated access, with no need for elevated privileges or system compromise beforehand. The EPSS score of < 1% indicates a very low probability of exploitation, though the remote code execution nature keeps the risk high. The vulnerability is not listed in CISA's KEV catalog, so no public exploit is currently known, but the potential damage—including data theft, service disruption, and full system compromise—makes it critical.

Generated by OpenCVE AI on July 21, 2026 at 08:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade n8n to the contain the fix for the Execute Command node vulnerability.
  • If an immediate upgrade is not feasible, disable the Execute Command node in the n8n workflow editor, remove it from all active workflows, and block its exposure through the UI.
  • Restrict the use of the Execute Command node to trusted administrators by configuring user role permissions so that only authorized users can access it.

Generated by OpenCVE AI on July 21, 2026 at 08:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 04 Jul 2026 01:45:00 +0000

Type Values Removed Values Added
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.
Title n8n - Arbitrary Command Execution via Execute Command Node
First Time appeared N8n
N8n n8n
Weaknesses CWE-284
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-06T13:13:11.151Z

Reserved: 2026-06-20T13:11:44.728Z

Link: CVE-2025-71380

cve-icon Vulnrichment

Updated: 2026-07-06T13:12:57.426Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T09:00:03Z

Weaknesses