CWE data temporarily unavailableCWE data is currently experiencing intermittent outages, which may cause incomplete section loading on CVE pages. We are actively working on a fix.

CVE-2026-102827

Description

A flaw was found in simple-git. This vulnerability allows an attacker who can influence command arguments to achieve arbitrary command execution on the host system. The library's security filter checks for dangerous options using exact names but fails to account for Git accepting abbreviated command options. Consequently, an attacker can supply abbreviated push options to bypass validation checks and execute arbitrary commands in applications that process untrusted input.

Statement

A flaw was found in the simple-git Node.js library, which Red Hat ships as a bundled dependency in products such as grafana in Red Hat Enterprise Linux. The library's default blockUnsafeOperationsPlugin security filter compares parsed option names against the literal spellings of dangerous git options, but git accepts unambiguous long-option abbreviations. An attacker who can influence the command arguments an application passes to simple-git can therefore use abbreviated forms such as --receive-p or --exe (for --receive-pack or --exec) to bypass the filter on the git push path and cause git to invoke an attacker-selected command, resulting in arbitrary command execution on the host. The flaw only manifests in applications that process untrusted input and pass attacker-controlled arguments to simple-git git operations. Red Hat rates this flaw as IMPORTANT with a CVSS 3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), while NIST rates it CRITICAL with 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); the difference reflects Red Hat's assessment that exploitation depends on an application exposing attacker-influenced arguments to simple-git, which increases real-world attack complexity. Within Red Hat's product portfolio the affectedness varies by code path: for example, grafana-pcp in Red Hat Enterprise Linux is not affected because the vulnerable code is not in the execute path, and grafana streams in which the vulnerable code is not present are not affected. For affected Red Hat products the consequence is arbitrary command execution, and fixes are being pursued through the respective affected components.

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. The upstream project has fixed this issue in simple-git 4.0.0, so updating an affected application's bundled simple-git dependency to 4.0.0 or later addresses the issue.

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.19.88.1
Attack VectorNetworkNetworkNetwork
Attack ComplexityHighLowHigh
Privileges RequiredNoneNoneNone
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityHighHighHigh
Integrity ImpactHighHighHigh
Availability ImpactHighHighHigh

Vector

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

NVD: CVSS:3.1/AV:N/AC:L/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

Frequently Asked Questions

Want to get errata notifications? Sign up here.