CVE-2026-85168

Summary

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.

Affected Software

VendorProductVersion RangeStatus
n8n-ion8n0 < 1.123.73affected
n8n-ion8n1.123.73unaffected
n8n-ion8n0 < 2.36.2affected
n8n-ion8n2.36.2unaffected
n8n-ion8n0 < 2.35.4affected
n8n-ion8n2.35.4unaffected

Weaknesses

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

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References