CVE-2025-71380 n8n - Arbitrary Command Execution via Execute Command Node

High 8.7 Published Updated

Authenticated users can execute arbitrary commands on the host via the Execute Command node, leading to potential system compromise.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-71380?

CVE-2025-71380 is a high-severity command injection vulnerability in n8n, published on 4 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-284

Which versions are affected by CVE-2025-71380?

4 open source packages ship an affected version, including n8n and n8n-nodes-base.

PackageAffectedFixed in
n8n npmAll versions to 1.114.4None
n8n npmAll versions to 1.114.4None
n8n-nodes-base npmAll versions to 1.113.0None
n8n-nodes-base npmAll versions to 1.113.0None

How do I fix CVE-2025-71380?

No fix has been published for CVE-2025-71380 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-71380 being exploited?

There is no known exploitation of CVE-2025-71380 in the wild and no public exploit code.

Sources

Also known as GHSA-365g-vjw2-grx8, GHSA-38pj-jv2x-mgcw.

Is CVE-2025-71380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free