CVE-2026-85168
Received Received - Intake

Remote Code Execution in n8n Git Node

Vulnerability report for CVE-2026-85168, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-03

Last updated on: 2026-09-03

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-03
Last Modified
2026-09-03
Generated
2026-09-03
AI Q&A
2026-09-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 6 associated CPEs
Vendor Product Version / Range
n8n n8n to 1.123.73 (exc)
n8n n8n 2.35.4
n8n n8n 2.36.2
n8n-io n8n to 1.123.73 (exc)
n8n-io n8n to 2.35.4 (exc)
n8n-io n8n to 2.36.2 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a remote code execution flaw in n8n versions before 1.123.73, 2.35.4, and 2.36.2. It exists in the Git node where a fixed list of command-bearing configuration keys was reset before each operation. However, this list missed certain key families like content-filter and merge-driver. If a repository has local settings using these keys with matching attribute patterns, Git may execute configured commands during normal operations like Add, Commit, Checkout, or Pull. The commands run with the privileges of the n8n process user.

Detection Guidance

Check if your n8n version is below 1.123.73, 2.35.4, or 2.36.2. Run 'n8n --version' to verify. Inspect Git node configurations for suspicious 'content-filter' or 'merge-driver' settings in repositories.

Impact Analysis

This vulnerability allows an attacker to execute arbitrary commands on the system running n8n. Since the commands run as the n8n process user, an attacker could gain control over the system, steal data, install malware, or perform other malicious activities. It primarily affects environments where n8n is used with Git repositories that have specific local configurations.

Compliance Impact

This vulnerability could lead to unauthorized code execution, potentially causing data breaches or unauthorized access to sensitive information. This may violate compliance requirements under GDPR, HIPAA, or other regulations that mandate strict access controls and data protection measures. Organizations using affected n8n versions must address this flaw to maintain compliance.

Mitigation Strategies

Upgrade n8n to version 1.123.73, 2.35.4, or 2.36.2 or later. Review and remove any untrusted 'content-filter' or 'merge-driver' configurations in Git repositories. Restrict n8n process user permissions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-85168. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart