Command injection in n8n - CVE-2026-85168

 

Command injection in n8n - CVE-2026-85168

Published: August 19, 2026 / Updated: September 14, 2026


Vulnerability identifier: #VU144362
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-85168
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper neutralization of repository-local configuration in the Git node when performing Add, Commit, Checkout, or Pull operations on a crafted repository. A remote user can configure content-filter or merge-driver settings together with a matching attribute pattern to execute arbitrary code.

The command executes as the n8n process user.


Affected software

n8n

How to mitigate CVE-2026-85168

Install security update from vendor's website.

n8n - addressed in versions 1.123.73, 2.35.4, 2.36.2

External References

Related Security Bulletins