CVE-2025-62726CWE-829

CVE-2025-62726

High · published October 30, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
56.7
In the wild
Unconfirmed
What it is

⚡ A crafty pre-commit hook in a cloned Git repository could spell disaster for your n8n setup! 🚨 Think of it like letting a delivery driver into your office to drop off a package, only to discover they’ve sneaked in a suspicious package that activates a hidden trap. In this case, the Git Node component executes unwanted code just because it was triggered by a seemingly innocent commit. An attacker could potentially take control of your n8n environment, executing arbitrary code that compromises the entire system, including any connected credentials or workflows. This can lead to data theft, unauthorized access, or even a complete takeover of the automation system—absolutely devastating!

Put simply

Think of it like letting a delivery driver into your office to drop off a package, only to discover they’ve sneaked in a suspicious package that activates a hidden trap. In this case, the Git Node component executes unwanted code just because it was triggered by a seemingly innocent commit. This vulnerability allows remote code execution within n8n when a pre-commit hook from a cloned repository is triggered during Git operations, effectively bypassing normal security checks and running harmful code.

What to do

An attacker could potentially take control of your n8n environment, executing arbitrary code that compromises the entire system, including any connected credentials or workflows. This can lead to data theft, unauthorized access, or even a complete takeover of the automation system—absolutely devastating! Update your n8n instance to version 1.113.0 immediately to close this vulnerability. If you're using the Git Node, review your repositories and disallow any suspicious hooks from executing. Always ensure your workflow components are up to date and audited for security! You've got this! Just follow these steps, and you’ll be back to automating workflows in a secure environment in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00815 · 56.7th percentile
Weakness
CWE-829 · Inclusion of Functionality from Untrusted Control Sphere
Published
2025-10-30T21:15Z
Affected products (1)
ProductVersionsFixed in
n8n/n8n< 1.113.01.113.0
References (3)
EPSS history
Timeline
  • 30 OCT 16:24Z
    n8n Vulnerable to Remote Code Execution via Git Node Pre-Commit Hook
    cvelistv5