Vulnerabilities · 2025 · N8n
CVE-2025-62726
N8n vulnerability
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. The exact versions are in the references.
What to do now
- Check your exposureFind out whether N8n runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47
- github.com/n8n-io/n8n/pull/19559
- github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997
- nvd.nist.gov/vuln/detail/CVE-2025-62726
- github.com/advisories/GHSA-xgp7-7qjq-vg47
- nvd.nist.gov/vuln/detail/CVE-2025-62726
- cve.org/CVERecord?id=CVE-2025-62726
More vulnerabilities in N8n products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.