CVE-2025-62726 n8n Vulnerable to Remote Code Execution via Git Node Pre-Commit Hook
HighCVSS 8.8
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 1.113.0 | 1.113.0 | Fixed |
| npm n8n(npm) | < 1.113.0 | 1.113.0 | Fixed |
| n8n-io n8n | = < 1.113.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm n8n(npm) | < 1.113.0 | 1.113.0 |
| n8n-io n8n | = < 1.113.0 | No fix listed |
| n8n | < 1.113.0 | 1.113.0 |
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 patch
- https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product