Skip to content

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

HighCVSS 8.8 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 1.113.0 1.113.0 Fixed
npm n8n(npm) < 1.113.0 1.113.0 Fixed
n8n-io n8n = < 1.113.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm n8n(npm) < 1.113.0 1.113.0
n8n-io n8n = < 1.113.0 No fix listed
n8n < 1.113.0 1.113.0

References