CVE-2026-72767

n8n before 1.123.67 Remote Code Execution via Git node

Published Aug 11, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a remote code execution vulnerability in the Git node. Authenticated users with rights to create and execute workflows can stage a crafted local repository that causes git to run hooks under default git security settings, executing arbitrary commands as the n8n process user. Both self-hosted and cloud instances are affected.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Git node of n8n. An authenticated user with rights to create and execute workflows can prepare a carefully constructed local repository that makes Git run its hooks with the default security settings, allowing execution of arbitrary commands as the n8n process user. This gives the attacker the same privileges as the service, enabling full control over the affected instance. The weakness is classified as CWE‑78, an operating system command injection.

Affected Systems

The affected editions are n8n versions 1.x prior to 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1. Both self‑hosted and cloud deployments of these versions run on Node.js and are vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. The EPSS score is not available, but the vulnerability has not yet been recorded in the CISA KEV catalog, suggesting that widespread exploitation has not been observed. The attack path requires a user who can author workflows, so it is not a zero‑day bug that anyone can exploit without access. Nevertheless, from the available data the risk remains high for any environment where such users exist.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to n8n v1.123.67 or later, or n8n v2.31.5 or later for 2.x branches
  • Disable or restrict Git hook execution in the server configuration to prevent arbitrary command execution
  • If an update is not immediately possible, review and remove any custom Git hooks or scripts that could be triggered by workflow users

Generated by OpenCVE AI on August 11, 2026 at 23:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description n8n before 1.123.67, 2.x before 2.31.5, and 2.32.x before 2.32.1 contain a remote code execution vulnerability in the Git node. Authenticated users with rights to create and execute workflows can stage a crafted local repository that causes git to run hooks under default git security settings, executing arbitrary commands as the n8n process user. Both self-hosted and cloud instances are affected.
Title n8n before 1.123.67 Remote Code Execution via Git node
First Time appeared N8n
N8n n8n
Weaknesses CWE-78
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 9:16 PM
Reserved
Aug 10, 2026, 3:06 PM
Status
Analyzed
Published
Aug 11, 2026, 1:19 PM
Modified
Oct 29, 2026, 8:17 PM