# CVE-2025-62726: n8n Vulnerable to Remote Code Execution via Git Node Pre-Commit Hook

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Published: 2025-10-30T16:24:11.484Z
- Modified: 2026-10-19T13:10:00.110Z
- Also known as: GHSA-xgp7-7qjq-vg47
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.113.0
- n8n (npm): before 1.113.0
- n8n n8n: before 1.113.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47> (patch, vendor-advisory, web)
- <https://github.com/n8n-io/n8n/pull/19559> (issue-tracking, web)
- <https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62726> (advisory)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2025-62726](https://www.cve.org/CVERecord?id=CVE-2025-62726), CVE Terms of Use, modified 2025-10-31
- GitHub Advisory Database: [GHSA-xgp7-7qjq-vg47](https://github.com/advisories/GHSA-xgp7-7qjq-vg47), CC-BY-4.0, modified 2025-10-30
- NVD: [CVE-2025-62726](https://nvd.nist.gov/vuln/detail/CVE-2025-62726), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-62726 · Whole record: https://cve.day/CVE-2025-62726.json · Rebuilt by cve.day 2026-11-25T22:59:07.055Z
