Skip to main content
← All vulnerabilities
CVE-2025-62726GHSA-XGP7-7QJQ-VG47

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.113.0
2 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n8n-io n8n

    fixed in 1.113.0

  • n8nnpm

    fixed in 1.113.0

References 5

GitHub · n8n-io/n8n

GitHub · Muzyli/cve-2025-62726-malicious-repo

GitHub · baktistr/cve-2025-62726-poc