CVE-2025-62726 Details
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.
A remote code execution vulnerability has been identified in the Git Node component of n8n, an open-source workflow automation platform. This issue affects both Cloud and Self-Hosted versions of n8n prior to 1.113.0. The vulnerability arises when a user clones a remote repository that contains a pre-commit hook. If the user then uses the Commit operation in the Git Node, it can unintentionally execute the hooked code. This behavior could be exploited by attackers to run arbitrary code within the n8n environment, potentially compromising the system and any associated credentials or workflows.
Users are advised to upgrade to n8n version 1.113.0 or later, and to set the environment variable 'N8N_GIT_NODE_DISABLE_BARE_REPOS' to 'true' in self-hosted deployments. For n8n Cloud users, bare repository support has been disabled automatically.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 31, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/n8n-io/n8n/commit/5bf3db5ba84d3195bbe11bbd3c62f7086e090997 | [email protected] | Patch |
| https://github.com/n8n-io/n8n/pull/19559 | [email protected] | Issue Tracking |
| https://github.com/n8n-io/n8n/security/advisories/GHSA-xgp7-7qjq-vg47 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n n8n | < 1.113.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 31, 2025 | Initial Analysis | [email protected] |
| Oct 30, 2025 | New CVE Received | [email protected] |