Skip to main content

n8n CVE-2026-72767

| EUVDEUVD-2026-56093 HIGH
OS Command Injection (CWE-78)
2026-08-11 VulnCheck GHSA-rvvp-8h68-7hqm
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to n8n with workflow creation rights
  2. Delivery
    Build workflow using the Git node
  3. Exploit
    Supply path to attacker-controlled repository containing malicious hooks
  4. Install
    Trigger workflow execution
  5. C2
    n8n invokes git against crafted repository
  6. Execute
    git executes embedded hook payload
  7. Impact
    Arbitrary commands run as n8n process user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires a valid n8n account with workflow creation and execution permissions (authenticated, low-privilege). The Git node must be enabled - this is the default configuration; administrators who have explicitly added n8n-nodes-base.git to NODES_EXCLUDE are not affected. The attacker must be able to supply or control a crafted local repository path that is accessible from the n8n host's filesystem or a mounted network share; the repository must contain malicious git hook scripts. Default git security settings (no --no-hooks flag, no core.hooksPath override) must be in place on the n8n host, which is the out-of-box state for standard git installations. Exploitation is bounded by: (1) the requirement for an authenticated account with specific workflow permissions - anonymous users cannot exploit this; (2) read-only n8n accounts are not affected; (3) the crafted repository must be reachable from the n8n host, which may require prior filesystem access or a misconfigured network share in some deployments.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) is well-calibrated to the actual risk: network-accessible, low complexity, no specific attack prerequisites, requiring only a low-privileged authenticated account. The PR:L requirement is the primary limiting gate - unauthenticated exploitation is not possible. However, in any deployment where untrusted users or contractors hold n8n accounts with workflow execution rights (common in automation-heavy teams), this gate provides minimal protection. The vendor confirms both self-hosted and cloud instances are affected, which substantially broadens the attack surface. No KEV listing and no public POC have been identified, which reduces the probability of opportunistic mass exploitation in the short term, but the attack path is clearly described in the advisory and reproducible by any competent attacker. EPSS data was not provided; inferred exploitation probability is moderate given the low-complexity, network-accessible path. This should be treated as a high-priority patch - not a theoretical risk - for environments with mixed-trust user populations.

Exploit ScenarioDerived

An authenticated n8n user with workflow creation rights builds a workflow using the Git node, directing it at a locally accessible repository they control - one containing a malicious git hook such as a post-checkout script. When the workflow executes, the n8n Git node invokes git against that repository under default settings; git runs the hook, executing the attacker's payload (e.g., a reverse shell, credential harvesting script, or lateral movement command) as the n8n process user. No public POC has been identified at time of analysis, but the attack path is fully described in the vendor advisory and requires no specialized tooling.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 11, 2026

Remote code execution in n8n's Git node allows authenticated users with workflow creation and execution rights to run arbitrary OS commands as the n8n process user by staging a crafted repository that triggers git hook execution under default git security settings. All 1.x versions before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 are affected across both self-hosted and cloud deployments. No public exploit or CISA KEV listing has been identified at time of analysis, but the low-complexity attack path and broad version coverage make this a high-priority patch for any deployment permitting untrusted authenticated users.

RemediationAI

Upgrade to a patched release immediately: n8n 1.123.67 for all 1.x deployments, 2.31.5 for 2.x deployments below 2.32, or 2.32.1 for 2.32.x deployments. The fix commit is available at https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f and the full advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-rcv6-pvrj-4xcg. If immediate upgrade is operationally blocked, three specific workarounds are documented by the vendor, each with trade-offs: (1) Restrict instance access to fully trusted users only - eliminates the threat but may not be feasible in multi-tenant or collaborative deployments; (2) Disable the Git node by adding n8n-nodes-base.git to the NODES_EXCLUDE environment variable - fully removes the attack surface with zero residual risk from this CVE, but will break any existing workflows that depend on the Git node; (3) Restrict network egress from the n8n host - limits blast radius by preventing reverse-shell callbacks and data exfiltration, but does not prevent code execution itself. The vendor explicitly states all workarounds are short-term measures only and do not fully remediate the risk.

Affected VersionsENISA

n8n 0 <1.123.67
n8n 0 <2.32.1
n8n 0 <2.31.5

Affected Packages

npm n8n fix: 1.123.67, 2.31.5, 2.32.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package 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 an open-source workflow automation platform distributed as the npm package n8n-io/n8n. It exposes a 'Git node' that invokes the system git binary from within user-defined workflows. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command - OS Command Injection): the Git node passes attacker-controlled repository paths to the git binary without disabling hook execution or hardening git's safe.directory controls. Under git's default security posture, processing a repository automatically executes any hooks present (e.g., post-checkout, pre-commit), which run as the OS user owning the n8n process. This is not a git vulnerability - it is n8n's failure to invoke git in a restricted mode (e.g., via --no-hooks or git config core.hooksPath /dev/null) when handling user-supplied inputs. CPE: cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*.

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-accessible Git node invoked by low-privileged authenticated workflow users; full C/I/A from OS-level RCE; scope unchanged as execution is confined to the n8n process.

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

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 13:17 EUVD
CVE Published
Aug 11, 2026 - 12:17 cve.org
HIGH 8.7

DescriptionCVE.org

n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a remote code execution vulnerability in the Git node. Authenticated users with rights to create and execute workflows can stage a crafted local repository that causes git to run hooks under default git security settings, executing arbitrary commands as the n8n process user. Both self-hosted and cloud instances are affected.

Executive ViewAI

Why It Matters

n8n deployments running versions 1.x before 1.123.67, 2.x before 2.31.5, or 2.32.x before 2.32.1 expose authenticated users to execute arbitrary commands on underlying servers-a high-severity risk affecting both self-hosted and cloud deployments. While no public exploit has been identified to date, the low-complexity attack path and broad version coverage demand urgent patching to prevent data exfiltration or service compromise. Organizations should prioritize upgrading affected instances immediately.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
popular open-source workflow automation platform, growing enterprise and SMB adoption
Data Quality
7 sources
Confidence: High

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 Yes
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

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

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