CVE-2026-110845

n8n before 1.123.83, 2.41.4, and 2.42.1 Code Execution via Git Node Log Operation

Published Oct 14, 2026 CVSS 4.0 · 7.7 High EPSS < 1% KEV · Not listed
Description
n8n before 1.123.83, 2.x before 2.41.4, and 2.42.x before 2.42.1 contains a code execution vulnerability in the Git node Log operation, which fails to strip a repository's local git configuration before invoking an external program. Authenticated members who can point the node, including as an agent tool, at a repository whose local configuration they control can execute programs as the n8n process user.

Analysis

AI-generated

Technical impact

n8n versions before 1.123.83, 2.x before 2.41.4, and 2.42.x before 2.42.1 allow an authenticated user to cause the Git node's Log operation to invoke arbitrary programs. The node fails to strip a repository's local Git configuration before calling external commands, enabling an attacker who can control that configuration to run any program as the n8n process user. This leads to code execution with the privileges of the n8n service, potentially compromising confidentiality, integrity, or availability of the system. The vulnerability exploits improper restriction of operations within program bounds (CWE-15).

Affected Systems

The vendor is n8n‑io and the product is n8n. The issue exists in all releases prior to 1.123.83, 2.x prior to 2.41.4, and 2.42.x prior to 2.42.1. Users should upgrade to at least 1.123.83 for the 1.x line, 2.41.4 for the 2.41.x line, or 2.42.1 for the 2.42.x line to achieve the fix.

Risk and Exploitability

The CVSS score of 7.7 indicates a high severity. EPSS is not available and the vulnerability is not in the KEV list, meaning there is no documented public exploit yet. However, the risk is substantial for any deployment where authenticated users can configure the Git node. The attacker needs authentication and the ability to point the node at a repository they can control locally; with that, they can execute arbitrary code as the n8n process user. The exploitation path relies on manipulating the repository's local git configuration, so the primary attack vector is through privileged configuration changes within the Git node. The potential impact is full code execution on the host running n8n.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to a patched release: at least 1.123.83, 2.41.4, or 2.42.1 depending on your major channel.
  • Limit the credentials of users who can configure the Git node, ensuring only trusted administrators can set repository paths and local configuration settings.
  • As a temporary workaround, disable or remove the ability of the Git node to execute external programs, or enforce strict sanitization of any script paths before invoking them.

Generated by OpenCVE AI on October 15, 2026 at 12:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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.83, 2.x before 2.41.4, and 2.42.x before 2.42.1 contains a code execution vulnerability in the Git node Log operation, which fails to strip a repository's local git configuration before invoking an external program. Authenticated members who can point the node, including as an agent tool, at a repository whose local configuration they control can execute programs as the n8n process user.
Title n8n before 1.123.83, 2.41.4, and 2.42.1 Code Execution via Git Node Log Operation
First Time appeared N8n
N8n n8n
Weaknesses CWE-15
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-15

    External Control of System or Configuration Setting

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 26, 2026, 4:03 PM
Reserved
Oct 14, 2026, 10:12 PM
Status
Deferred
Published
Oct 14, 2026, 11:17 PM
Modified
Oct 26, 2026, 5:17 PM