Cloudanix VulnDB

CVE-2025-62726

High · 8.8

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

CVSS

8.8

EPSS

0.8%

Published

Oct 30, 2025

CISA due date

—

The record

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. All users with workflows that utilize the Git Node to clone untrusted repositories are affected.

Affected packages

Ecosystem Package Introduced Fixed
npm n8n 0 1.113.0

Related vulnerabilities