Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2025-62726 EUVD-2025-37026GHSA-xgp7-7qjq-vg47

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

Published Oct 30, 2025 · Updated Oct 31, 2025 · 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.

Affected products

VendorProductAffectedFixed
n8n-io n8n < 1.113.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • cve-2025-62726-malicious-repo

  • baktistr/cve-2025-62726-poc ★ 0 · Nov 24, 2025

    This is a proof-of-concept demonstration for CVE-2025-62726, created for educational purposes as part of a class project. Part of CMU Course : 18-739 Hacking & Offensive Security in Fall 2025

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n < 1.113.0 1.113.0 GHSA-xgp7-7qjq-vg47

References