Loading...
Skip to main content

CVE-2025-71380

HIGH

n8n: Execute Command Node Allows Authenticated Users to Run Arbitrary Commands on Host

Published October 9, 2025Updated July 8, 2026Source: osv

Summary

### 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 Command` node 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: ```bash export NODES_EXCLUDE: "[\"n8n-nodes-base.executeCommand\"]" ``` ### References n8n docs: [Execute Command](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executecommand/) n8n docs: [Blocking nodes](https://docs.n8n.io/hosting/securing/blocking-nodes/)

Affected Packages (2)

PackageEcosystemAffectedFixed In
n8n-nodes-base
npm
All versionsRange-based data available
n8n
npm
All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-78
    OS Command InjectionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-71380?
n8n: Execute Command Node Allows Authenticated Users to Run Arbitrary Commands on Host This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2025-71380?
CVE-2025-71380 affects n8n-nodes-base and n8n. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-71380 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-365g-vjw2-grx8

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies