What’s Vulnerable › Vulnerabilities
CVE-2025-62726: n8n Vulnerable to Remote Code Execution via Git Node Pre-Commit Hook
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-30 · updated 2026-10-19
- Weakness: CWE-829
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.
Affected products
- n8n-io n8n: before 1.113.0 — fixed in 1.113.0
How to fix
Upgrade to a fixed version: n8n-io n8n 1.113.0. Check the vendor advisory for mitigations.
References
- https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997
- https://github.com/n8n-io/n8n/pull/19559
- https://github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47
Get alerted when CVE-2025-62726 or the next vulnerability affects your stack