N8n-io n8n
n8n Vulnerable to Remote Code Execution via Git Node Pre-Commit Hook
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.113.0
Fixed in 1.113.0
Mitigation
Upgrade n8n to 1.113.0 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 25 days after publication; not in CISA KEV. First PoC: baktistr/cve-2025-62726-poc (created 24 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 informational
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| baktistr/cve-2025-62726-poc | 24 Nov 2025 +25 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Muzyli/cve-2025-62726-malicious-repo | 9 Dec 2025 +40 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.