Skip to main content

n8n EUVDEUVD-2025-210426

| CVE-2025-71380 HIGH
Improper Access Control (CWE-284)
2026-07-04 VulnCheck GHSA-38pj-jv2x-mgcw
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid n8n credentials
  2. Delivery
    Log into workflow editor
  3. Exploit
    Add Execute Command node with malicious command
  4. Execution
    Run workflow to execute on host
  5. Persist
    Establish shell / exfiltrate data
  6. Impact
    Full host compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires valid authenticated access to the n8n instance with sufficient permission to create or edit a workflow and add the Execute Command node (CVSS PR:L confirms low-but-nonzero privilege). The exact prerequisite is that the Execute Command node is available/enabled in the deployment and that the compromised or malicious account can place it in a runnable workflow. Limiting factors: attackers must hold or obtain credentials (not unauthenticated), the Execute Command node must not be disabled via NODES_EXCLUDE, and impact is bounded by the privileges of the n8n process on the host; instances that already restrict workflow-editing to a small set of trusted admins or that disable this node are not practically exploitable by lower-tier users.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H, base 8.7) describes a low-complexity, network-reachable attack that requires low privileges (PR:L), i.e. an authenticated but not necessarily administrative user, with high confidentiality, integrity, and availability impact to the vulnerable host and no scope change to other systems. No EPSS score, KEV listing, or POC was supplied, so exploitation probability cannot be quantified from the input; however, the technical barrier is minimal because the Execute Command node is legitimate, documented functionality - exploitation is essentially 'use the feature.' The key mitigating signal is PR:L: this is not an unauthenticated internet worm scenario but rather a trusted-insider or credential-compromise risk. Net assessment: genuinely high-impact where multiple lower-trust users share an n8n instance, but the requirement for valid credentials and node access limits mass, opportunistic exploitation.

Exploit ScenarioDerived

An attacker who has phished or otherwise obtained the credentials of a low-privileged n8n user logs into the web UI, creates or edits a workflow, and inserts an Execute Command node containing a reverse-shell or data-exfiltration command. Executing the workflow runs the command as the n8n service account on the host, giving the attacker interactive access. No public POC was referenced, but exploitation requires no special tooling because it abuses documented node functionality with low attack complexity (AC:L).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 04, 2026

Arbitrary command execution in the n8n workflow automation platform lets authenticated users abuse the built-in Execute Command node to run OS commands directly on the host running n8n. Any user with workflow-editing access or stolen credentials can leverage this by-design node to exfiltrate data, disrupt the service, or fully compromise the underlying host, and CWE-284 (Improper Access Control) reflects that command execution is not restricted to trusted operators. Reported by VulnCheck; no public exploit identified at time of analysis and the flaw is not listed in CISA KEV.

RemediationAI

No vendor-released patch version was identified in the provided data, so review the n8n GitHub Security Advisory GHSA-365g-vjw2-grx8 (https://github.com/n8n-io/n8n/security/advisories/GHSA-365g-vjw2-grx8) and the VulnCheck advisory (https://www.vulncheck.com/advisories/n8n-arbitrary-command-execution-via-execute-command-node) for the fixed release and upgrade to it once available. As the primary compensating control, disable the Execute Command node entirely by setting the environment variable NODES_EXCLUDE to include '@n8n/n8n-nodes-base.executeCommand' (side effect: any legitimate workflows relying on shell execution will break and must be re-architected). Additionally, restrict who can create or edit workflows using n8n's RBAC/user-management so only fully trusted operators hold that privilege, enforce strong credential hygiene and MFA to reduce account-takeover risk, and run n8n as an unprivileged user inside a hardened, network-segmented container so that command execution cannot readily reach sensitive data or lateral targets (trade-off: tighter isolation and reduced node availability may limit automation flexibility).

Affected VersionsENISA

n8n 0 ≤1.114.4

Affected Packages

npm n8n no fix
npm n8n-nodes-base no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

n8n is a source-available workflow-automation/orchestration tool (fair-code licensed) commonly self-hosted to connect APIs and services. The Execute Command node is a native node that shells out to the underlying operating system, so any workflow that can include this node inherits the full privileges of the n8n process (frequently a container or service account with broad filesystem and network reach). The root cause is CWE-284 (Improper Access Control): the ability to invoke this powerful node is granted to ordinary authenticated users rather than being gated behind a stricter privilege or disabled by policy, turning intended functionality into a privilege-escalation-to-host primitive. The single CPE, cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*, indicates all versions are considered in scope absent an explicit fixed version.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 8.8 HIGH

Network-reachable web UI (AV:N), trivial abuse of a documented node (AC:L), requires an authenticated editing user (PR:L), no scope change to other systems (S:U), full host CIA impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

n8n workflow automation platform contains a vulnerability that allows authenticated users to execute arbitrary commands on underlying infrastructure, enabling data theft, disruption of business-critical automations, or complete system compromise. Organizations using n8n for data integration or workflow processing face direct operational and data security risk. Immediate action is required to restrict access and contain exposure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable Execute Command node at the platform level if not business-essential; (2) Enforce least-privilege access models-restrict workflow-editing permissions to minimal required personnel and require approval for Execute Command node usage; (3) Deploy OS-level process sandboxing (AppArmor/SELinux) to constrain n8n runtime capabilities; (4) Implement real-time logging and alerts for unexpected process creation and outbound network activity from n8n infrastructure.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
popular self-hosted workflow-automation tool, common but not ubiquitous
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy