---
id: CVE-2025-71380
title: >-
  The Execute Command node in n8n allows authenticated users to execute
  arbitrary commands on the host system where n8n runs
summary: >-
  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, potentiall…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-284
published: '2026-07-04'
updated: '2026-07-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71380'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-365g-vjw2-grx8'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/n8n-arbitrary-command-execution-via-execute-command-node
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00571
epssPercentile: 0.44892
ingestedAt: '2026-07-04T21:57:46.860Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
