High severityNVD Advisory· Published Oct 30, 2025· Updated Oct 31, 2025
n8n Vulnerable to Remote Code Execution via Git Node Pre-Commit Hook
CVE-2025-62726
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | < 1.113.0 | 1.113.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-xgp7-7qjq-vg47ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-62726ghsaADVISORY
- github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/pull/19559ghsax_refsource_MISCWEB
- github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.