Skip to content
HighVulnerability

CVE-2026-85168: n8n remote code execution through the Git node

Identifier
CVE-2026-85168
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

n8n versions before 1.123.73, 2.35.4, and 2.36.2 contain a remote code execution flaw in the Git node, tracked as CVE-2026-85168. The node reset a fixed list of command-bearing Git configuration keys before each operation, but that list omitted the content-filter and merge-driver key families. A repository whose local configuration sets one of those keys, combined with a matching attribute pattern, makes git run the configured command during an ordinary Add, Commit, Checkout, or Pull operation, as the n8n process user.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.