CVE-2026-77084: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in n8n-io n8n
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.
AI Analysis
Technical Summary
This vulnerability in n8n's Git node involves improper neutralization of special elements used in OS commands, leading to potential code execution. Specifically, repository-local git configuration values are executed without sanitization, which can be exploited if an attacker can first write a malicious value into the repository via another vulnerability. The flaw affects versions prior to 1.123.69 in the 1.x branch and versions before 2.33.4 and 2.34.1 in the 2.x branch. The vulnerability has a CVSS 4.0 score of 7.7, indicating high severity, with network attack vector, low attack complexity, and partial privileges required.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code as the n8n process user by leveraging malicious git configuration values. However, exploitation requires a prior file-write vulnerability to plant the malicious configuration, limiting direct exploitation through the Git node alone.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor vendor communications for updates. Mitigation may involve restricting file-write permissions to prevent planting malicious git configuration values and limiting the privileges of the n8n process user to reduce impact.
CVE-2026-77084: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in n8n-io n8n
Description
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.
CVSS v4.0
Score 7.7high
Affected software
pkg:npm/n8n-io/n8nRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in n8n's Git node involves improper neutralization of special elements used in OS commands, leading to potential code execution. Specifically, repository-local git configuration values are executed without sanitization, which can be exploited if an attacker can first write a malicious value into the repository via another vulnerability. The flaw affects versions prior to 1.123.69 in the 1.x branch and versions before 2.33.4 and 2.34.1 in the 2.x branch. The vulnerability has a CVSS 4.0 score of 7.7, indicating high severity, with network attack vector, low attack complexity, and partial privileges required.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary code as the n8n process user by leveraging malicious git configuration values. However, exploitation requires a prior file-write vulnerability to plant the malicious configuration, limiting direct exploitation through the Git node alone.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor vendor communications for updates. Mitigation may involve restricting file-write permissions to prevent planting malicious git configuration values and limiting the privileges of the n8n process user to reduce impact.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-20T10:55:09.093Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a86e708acd9273b498befd8
Added to database: 08/20/2026, 11:37:44 UTC
Last enriched: 08/20/2026, 11:52:12 UTC
Last updated: 08/20/2026, 12:13:02 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.