Skip to main content
VulnerabilityPublished

CVE-2025-65964: n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook

Affects n8nSource GCVE Database

0
Compare
Authoritative record:CVE-2025-65964· Critical 9.4

Not known to be exploited · CVSS 9.4 Critical : upgrade to 1.119.2 as a priority.

Data as of 27 Nov 2026, 04:50 UTC

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.09.4
Patch
Available – fixed in 1.119.2
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade n8n to 1.119.2.

Affected software

ProductAffectedFixed in
npmn8nAffected
  • >=0.123.1 <1.119.2
Fixed in
  • 1.119.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in n8n version 1.119.2; users should upgrade to this version or later to remediate the vulnerability. If immediate upgrade is not possible, mitigate exposure by excluding the Git node from workflows and avoiding cloning or interacting with untrusted repositories using the Git node.

Description

A critical remote code execution vulnerability exists in n8n's Git node between versions 0.123.1 and 1.119.1. The flaw allows attacker-controlled workflows to set the Git configuration 'core.hooksPath' to a directory containing malicious Git hooks, which Git executes during operations, enabling arbitrary command execution on the host. This issue is patched in n8n version 1.119.2. Users should upgrade to this version or later. Workarounds include excluding the Git node or avoiding untrusted repositories.

References

Community reviews

Loading reviews…