Vulnerability in N8n
CVE-2025-62726
n8n is an open source workflow automation platform. Prior to 1.113.0, a remote code execution vulnerability exists in the Git Node component available in both Cloud and Self-Hosted versions of n8n. When a malicious actor clones a remote repository containing a pre-commit hook, the subsequent use of the Commit operation in the Git Node can inadvertently trigger the hook’s execution. This allows attackers to execute arbitrary code within the n8n environment, potentially compromising the system and any connected credentials or workflows. This vulnerability is fixed in 1.113.0.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- N8n
- N8n-Io N8n — versions < 1.113.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- baktistr/cve-2025-62726-poc (last pushed 2025-12-25): This is a proof-of-concept demonstration for CVE-2025-62726, created for educational purposes as part of a class project. Part of CMU Course : 18-739 Hacking & Offensive Security in Fall 2025
- Muzyli/cve-2025-62726-malicious-repo (last pushed 2025-12-09): cve-2025-62726-malicious-repo
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47 (Patch, Vendor Advisory)
- https://github.com/n8n-io/n8n/pull/19559 (Issue Tracking)
- https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.