CVE-2026-134815

Description

A flaw was found in simple-git. An argument injection vulnerability allows attackers to bypass the allowUnsafePack guard by supplying the --exec option to non-push git operations. An attacker who can influence arguments passed to listRemote() or raw() can inject --exec for ls-remote, archive, fetch-pack, or send-pack and execute commands on the host. Affected versions: before 4.1.0 (and @simple-git/argv-parser before 3.0.0). Fixed in 4.1.0 / 3.0.0.

Statement

This vulnerability is rated Important rather than Critical because exploitation requires the ability to influence git arguments passed into simple-git (attack complexity high) on a non-default code path using listRemote()/raw() with attacker-controlled options. Red Hat ships simple-git as a bundled dependency in products such as grafana in Red Hat Enterprise Linux and related Middleware offerings; practical impact depends on whether those products pass untrusted arguments into the vulnerable APIs.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Upgrade simple-git to 4.1.0 or later (and @simple-git/argv-parser to 3.0.0 or later where bundled).

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score8.1N/A8.1
Attack VectorNetworkN/ANetwork
Attack ComplexityHighN/AHigh
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityHighN/AHigh
Integrity ImpactHighN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Red Hat CVSS v3 Score Explanation

Argument injection via --exec on non-push ops; attacker must influence listRemote()/raw() args. Matches sibling CVE-2026-28291 class.

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability,Other

Technical Impact: Execute Unauthorized Code or Commands; Alter Execution Logic; Read Application Data; Modify Application Data

If an attacker can provide an untrusted input that contains argument-separating delimiters, then the resulting command will have more arguments than intended by the developer, potentially changing the expected behavior of the command. Depending on the functionality supported by the extraneous arguments, this may have security-relevant consequences. The attacker could include arguments that allow unintended commands or code to be executed, allow sensitive data to be read or modified, or cause other unintended behavior.

Frequently Asked Questions

Want to get errata notifications? Sign up here.