Skip to main content

n8n CVE-2026-77084

| EUVDEUVD-2026-63272 HIGH
OS Command Injection (CWE-78)
2026-08-20 VulnCheck GHSA-fv4x-pgrr-xh57
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to n8n with low-privilege credentials
  2. Delivery
    Exploit separate file-write primitive in n8n or underlying host
  3. Exploit
    Plant malicious git config value (e.g., core.fsmonitor hook) in target repository
  4. Execution
    Trigger Git node workflow operation against poisoned repository
  5. Persist
    n8n git process executes injected OS command as process user
  6. Impact
    Arbitrary code execution achieved

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 two chained prerequisites to both be satisfied. First, the attacker must hold authenticated access to n8n at PR:L level - sufficient to create or trigger a workflow containing a Git node; anonymous or external-only access is not sufficient. Second, a separate file-write capability must already exist or be obtainable, allowing the attacker to plant a malicious key-value pair (e.g., an arbitrary-command-invoking hook or filter) into the .git/config of a repository that an n8n Git node will subsequently operate against. The Git node's own configuration interface does not expose the vulnerable path - the malicious config must arrive via an external channel such as a cloned adversary-controlled repo, a separate n8n node with file-write capability, or direct filesystem access. n8n instances that use the Git node exclusively against internal, access-controlled repositories with no external contributor influence are substantially less exposed. Deployments that do not use the Git node at all are not affected.

Impact

The CVSS 4.0 score of 7.7 with vector AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H correctly reflects the dual nature of this vulnerability: the AT:P (Attack Requirements: Present) metric acknowledges that a specific pre-condition - a malicious git config value planted by a separate file-write primitive - must be satisfied before the OS injection fires, meaningfully elevating real-world exploitation complexity beyond the headline impact metrics alone. PR:L confirms authenticated n8n access is required to invoke a Git node workflow; unauthenticated remote exploitation is not supported by the available data. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, meaning exploitation probability is currently unquantified rather than confirmed low. Any organization running n8n workflows that pull from externally-influenced repositories - where an adversary could contribute or manipulate .git/config - should treat this as urgent regardless of size, since git config poisoning is a realistic, low-noise technique in CI/CD and automation pipeline attack chains. The absence of a public exploit tempers immediate panic but does not eliminate risk, because the technique (abusing git config hooks) is well-understood in the security community and tooling would not be difficult to develop.

Exploit ScenarioDerived

An attacker with authenticated n8n access and an existing file-write primitive (e.g., via a second n8n node vulnerability or an overly permissive workflow that writes to the filesystem) writes a malicious core.fsmonitor or core.hooksPath entry into a target repository's .git/config. When any subsequent n8n Git node operation - such as a pull, fetch, or status check - is triggered against that repository, git invokes the injected command as the n8n service account, granting full arbitrary code execution. No public exploit code has been identified at time of analysis, meaning an attacker would currently need to develop tooling independently.

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

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

Alert me

AnalysisAIv1 – Aug 20, 2026

Code execution in n8n's Git node (all 1.x releases before 1.123.69, all 2.x releases before 2.33.4 and 2.34.1) allows an authenticated attacker who can also plant files on the n8n host to run arbitrary OS commands as the n8n process user. The Git node passes repository-local git configuration values directly to execution without neutralization, satisfying CWE-78 (OS Command Injection); triggering any Git node operation against a repository whose config has been poisoned fires the injected command automatically. No public exploit has been identified at time of analysis, but the high impact triad (VC:H/VI:H/VA:H) and confirmed patch availability make immediate upgrading the correct response.

RemediationAI

Upgrade n8n to version 1.123.69 (1.x branch) or to 2.33.4 / 2.34.1 (2.x branch) as documented in vendor advisory GHSA-m87g-qr43-ccvc at https://github.com/n8n-io/n8n/security/advisories/GHSA-m87g-qr43-ccvc. For teams unable to patch immediately, the most effective compensating control is to disable or remove the Git node from all active workflows - this eliminates the execution path entirely, though it breaks any workflow relying on Git operations. As a secondary measure, restrict the filesystem write permissions of the n8n process user to directories it strictly requires; this limits the ability to plant malicious .git/config values and addresses the prerequisite file-write step in the attack chain, though it does not fix the neutralization flaw itself. Restricting n8n's access to repository paths sourced from untrusted or external parties also reduces exposure without breaking internal-repo workflows.

Affected VersionsENISA

n8n 0 <2.34.1
n8n 0 <2.33.4
n8n 0 <1.123.69

Affected Packages

euvd n8n fix: 1.123.69, 2.33.4, 2.34.1

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 (CPE: cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:*) is an open-source workflow automation platform that exposes a Git node for repository operations. Git supports repository-scoped configuration via the .git/config file, and certain config keys - such as core.fsmonitor, core.hooksPath, filter.<driver>.clean/smudge, and diff.external - cause git to invoke arbitrary shell commands when git operations are performed. The root cause (CWE-78: Improper Neutralization of Special Elements used in an OS Command) is that n8n's Git node reads these repository-local values and passes them into execution contexts without sanitization, allowing any config-driven hook or filter to run as the n8n service account. The flaw is not reachable through n8n's own Git node configuration UI; a malicious value must be introduced into the repository's .git/config through a separate write primitive.

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

AC:H reflects the mandatory chained file-write prerequisite; PR:L for required authenticated n8n session; S:U as impact is contained to the n8n process user with no confirmed scope change.

3.1 AV:N/AC:H/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
Aug 20, 2026 - 12:16 EUVD
CVE Published
Aug 20, 2026 - 11:21 cve.org
HIGH 7.7

DescriptionCVE.org

n8n before 1.123.69 (and 2.x before 2.33.4 / 2.34.1) contains a code execution vulnerability in the Git node. The Git node executed certain repository-local git configuration values without neutralizing them, so any subsequent Git node operation against a repository containing a malicious value would execute it as the n8n process user. This is not reachable through the Git node's own configuration controls and requires a separate file-write vulnerability elsewhere to plant the malicious value.

Executive ViewAI

Why It Matters

n8n's Git node contains an OS command injection vulnerability (CVE-2026-77084) allowing authenticated attackers with file system access to execute arbitrary OS commands on the n8n host. Organizations running n8n versions before 1.123.69 (1.x) or 2.33.4/2.34.1 (2.x) face risk of unauthorized code execution that could compromise automation pipelines and access sensitive data. Immediate patching is critical to prevent exploitation.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular open-source workflow automation platform with broad enterprise and hobbyist adoption
Data Quality
5 sources
Confidence: Medium

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.3%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

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