CVE-2026-85168

n8n before 1.123.73 Remote Code Execution via Git Node

State
Published
Severity
7.7 High
Published
Sep 3, 2026
Updated
Oct 29, 2026
Reserved
Sep 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.7 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
n8nn8n-io
  • before 1.123.73Affected
  • 1.123.73Not affected
n8nn8n-io
  • 2.36.0 to before 2.36.2Affected
  • 2.36.2Not affected
n8nn8n-io
  • 2.0.0-rc.0 to before 2.35.4Affected
  • 2.35.4Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.