CVE-2025-62726
HIGH 8.8CVSS 3.1n8n 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.
- Published
- 30 Oct 2025
- Last modified
- 19 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-829
- Also known as
- GHSA-xgp7-7qjq-vg47
- Sources
- NVDJSONOSV GHSA-xgp7-7qjq-vg47JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
< 1.113.0 | 1.113.0 |
| OSV | npm | n8n | < 1.113.0 | 1.113.0 |
References
- https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997 · Patch, WEB
- https://github.com/n8n-io/n8n/pull/19559 · Issue Tracking, WEB
- https://github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-62726 · ADVISORY
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 30 Oct 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Oct 2025)