Incident report

n8n Git Node Remote Code Execution in AI Automation Pipelines

CVE-2025-62726 exposed a remote code execution vulnerability in n8n's Git Node component prior to version `1.113.0`. Attackers able to trigger workflows cloning or manipulating untrusted repositories, or supply crafted Git node options, could execute arbitrary OS commands via unsafe Git argument and hook execution. In AI coding and RAG ingestion pipelines that automatically pull external repos into vector indexes, this bypassed sandbox assumptions completely. Updating past `1.113.0` and disabling repository hooks in automated workers closed the vector.

Incident record

Reported
Severity
High
Vector
Tool/MCP Abuse
Affected system type
AI Workflow Automation Platforms
Reference
CVE-2025-62726
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2025-62726

Inspect in Interactive Incidents Hub

Defensive lesson

Disable Git hooks (`core.hooksPath=/dev/null`) and sanitize clone parameters whenever automated AI workflows ingest external code repositories.

Referenced techniques