All vulnerabilities
GHSA-x8wx-g24x-3549

n8n: Code Execution in the Git Node Log Operation via Unneutralized Repository Configuration

n8nFrameworks
CVSS
7.7High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)No scoreNo FIRST EPSS score in this snapshot yet
Fixed inNone listedNo source names a fixed version yet
Published30 Sep 2026Updated 30 Sep 2026GitHub

What fixes it

No source in this snapshot names a fixed version.

Description

Impact

A repository's local configuration can name programs that git will execute, so the Git node strips it before running any command. One operation never applied that protection, and it is the operation that invokes an external program. A member who can point the node at a repository whose local configuration they control obtains program execution as the n8n process user under default settings. The node is also usable as an agent tool.

Patches

The issue has been fixed in n8n versions 1.123.83, 2.42.1 and 2.41.4. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Audit the file-access root for repositories whose local git configuration contains unexpected program-execution keys and remove or correct them.
  • Disable the Git node by adding n8n-nodes-base.git to the NODES_EXCLUDE environment variable if it is not required.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Text from GitHub Advisory Database

Affected versions 3

  • n8n, npm< 1.123.83GitHub
  • n8n, npm< 2.42.1GitHub
  • n8n, npm< 2.41.4GitHub