Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with low-privilege credentials
-
DeliveryExploit separate file-write primitive in n8n or underlying host
-
ExploitPlant malicious git config value (e.g., core.fsmonitor hook) in target repository
-
ExecutionTrigger Git node workflow operation against poisoned repository
-
Persistn8n git process executes injected OS command as process user
-
ImpactArbitrary 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 |
| 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 |
| 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 |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-63272
GHSA-fv4x-pgrr-xh57
NVD
CVE.org
EPSS
Exploit-DB