p PatchFirst

CVE-2025-62726

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 0.8% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • n8n

    Versions
    • < 1.113.0: Affected

    No fix published

  • n8n npm

    Affected ranges
    • SEMVER: < 1.113.0

    Update to 1.113.0

Original sources

Check your server →