Skip to main content

n8n EUVDEUVD-2026-70403

| CVE-2026-85168 HIGH
OS Command Injection (CWE-78)
2026-09-03 VulnCheck GHSA-8jv2-7jr5-2p67
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Obtain n8n user credentials
  2. Delivery
    Configure Git node workflow targeting attacker-controlled repository
  3. Exploit
    Embed malicious content-filter or merge-driver command in repository .git/config
  4. Install
    Set matching .gitattributes attribute pattern on tracked files
  5. C2
    Trigger Git node operation via schedule or webhook
  6. Execute
    Git executes injected command as n8n process user
  7. Impact
    Arbitrary code execution on n8n host

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 three concrete conditions: (1) the attacker holds n8n user-level credentials sufficient to create or modify a workflow containing a Git node (PR:L - not unauthenticated); (2) the Git node is configured to operate on a repository the attacker controls or can write to, specifically its .git/config and .gitattributes files; (3) that repository defines a content-filter or merge-driver configuration key with an attacker-supplied command value and a matching .gitattributes attribute pattern applied to at least one tracked file. Exploitation is then triggered during any of four Git node operations: Add, Commit, Checkout, or Pull - no additional interaction is required once the workflow runs. Exploitation is limited by the requirement for n8n credentials and write access to the target repository's git configuration; read-only repository consumers or deployments where workflows exclusively target internally controlled repositories with restricted push access are substantially protected.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H) accurately captures the threat model: the attack is network-reachable and low-complexity, but requires the attacker to hold n8n user-level credentials sufficient to configure Git node workflows, and requires the target repository to carry malicious git configuration (AT:P). These two prerequisites meaningfully constrain the exposed population - even a mid-sized municipal IT team in olsztyn should treat this as urgent only if their n8n deployment permits untrusted users to define Git node workflows or if those workflows pull from repositories outside organizational control. No EPSS data, KEV listing, or public exploit code is present in the input, suggesting active exploitation is not currently widespread; the git content-filter and merge-driver abuse technique is, however, a well-documented pattern that lowers the bar for a motivated attacker. The highest real-world risk scenario is a multi-tenant or shared n8n instance where one tenant's Git node points to an attacker-controlled repository; in single-tenant deployments where all workflow authors are fully trusted, exploitability is substantially reduced to an insider or credential-theft scenario.

Exploit ScenarioDerived

An attacker with n8n user credentials creates a Git node workflow configured to perform a Pull against an attacker-controlled repository; that repository's .git/config defines a content-filter command referencing a reverse shell script and its .gitattributes applies the filter to all tracked files. When the workflow executes - either on a schedule or triggered via webhook - git invokes the configured command as the n8n process user, granting the attacker an interactive shell on the n8n host. No public exploit code has been identified at time of analysis, but the content-filter and merge-driver git abuse technique is well-documented in the security community.

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 – Sep 03, 2026

Remote code execution in n8n's Git node allows an authenticated workflow user to execute arbitrary OS commands as the n8n process user by pointing the node at a repository containing malicious git configuration. The vulnerability arises from an incomplete sanitization list that omitted the content-filter and merge-driver git configuration key families, allowing those keys to survive into git operations and trigger arbitrary command execution during routine Add, Commit, Checkout, or Pull operations. Patched versions 1.123.73, 2.35.4, and 2.36.2 are confirmed available; no public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

Upgrade n8n to version 1.123.73 or later on the 1.x branch, 2.35.4 or later on the 2.35.x branch, or 2.36.2 or later on the 2.36.x branch; the patch extends the sanitized key list to include the content-filter and merge-driver configuration key families, preventing their values from reaching git during node operations. Full details are at https://github.com/n8n-io/n8n/security/advisories/GHSA-mwp5-2m32-r54h. If immediate upgrade is not possible, restrict Git node workflow creation and modification to fully trusted administrators only, reducing the pool of principals who could target a malicious repository; additionally, limit Git node operations to repositories under strict organizational control with push access restricted to trusted parties, which blocks injection of malicious .git/config content. Disabling the Git node entirely is the most reliable compensating control but eliminates its functionality entirely.

Affected VersionsENISA

n8n 0 <2.36.2
n8n 0 <1.123.73
n8n 0 <2.35.4

Affected Packages

euvd n8n fix: 1.123.73, 2.35.4, 2.36.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

n8n is a self-hosted workflow automation platform; its Git node wraps git CLI operations including Add, Commit, Checkout, and Pull. Before each operation the node zeroed out a hardcoded set of command-bearing git configuration keys to prevent git-config-based code execution. However, the sanitization list omitted two key families: content-filter (mapped via .gitattributes 'filter' attribute to filter.<name>.clean and filter.<name>.smudge shell commands) and merge-driver (mapped via 'merge' attribute to merge.<name>.driver). When git encounters a repository whose .git/config defines one of these keys and whose .gitattributes applies a matching attribute pattern to tracked files, git automatically invokes the configured command during normal file operations - without any further prompting. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) applies because unsanitized repository-supplied configuration values reach a shell command execution path. Affected CPE: cpe:2.3:a:n8n-io:n8n across all branches prior to the fixed versions.

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 7.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable via workflow trigger, requires n8n user credentials (PR:L), no interaction; full OS command execution yields C:H/I:H/A:H within the n8n process scope with no scope change.

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:P/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
Present
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
Sep 03, 2026 - 13:01 EUVD
CVE Published
Sep 03, 2026 - 11:22 cve.org
HIGH 7.7

DescriptionCVE.org

n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a remote code execution vulnerability in the Git node. The node reset a fixed list of command-bearing configuration keys before each operation, but that list did not cover the content-filter and merge-driver key families. A repository with local configuration setting one of those keys together with a matching attribute pattern causes git to execute the configured command during an ordinary Add, Commit, Checkout, or Pull operation. The command runs as the n8n process user.

Technical POC Analysis

We need produce Markdown breakdown from evidence, under 800 words.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

n8n's Git node contains a remote code execution vulnerability affecting authenticated workflow users who can configure git operations. An attacker with workflow access can inject malicious git configuration to execute arbitrary OS commands as the n8n process user, potentially compromising automation workflows and connected systems. Organizations using n8n for critical business processes should prioritize immediate patching.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patched, restrict workflow creation and modification permissions to a minimal set of trusted users, and implement network egress filtering to limit git operations from n8n to whitelisted repositories only.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular self-hosted workflow automation platform, significant DevOps community 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

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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-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