Skip to main content
Public proof of conceptFix available

CVE-2026-102827

simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)

A public proof of concept exists; no exploitation attested.

  • Published2026-09-29
  • Fixed in4.0.0
  • WeaknessCWE-77 · CWE-88

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. This issue is fixed in 4.0.0.

Timeline

dates in UTC
  1. 2026-09-2919:17CVE publishedNVD

Versions per branch

NVD · OSV
Simple-git project simple-git
BranchAffectedFixed in
4.0< 4.0.04.0.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • steveukx git-js
    Affected
    • = < 4.0.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-09-29

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/simple-gitRoot:npmall versions · fixed in 3.36.0-root.io.4
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.36.0-root.io.3
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.16.0-root.io.3
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.16.0-root.io.4
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.16.0-root.io.5
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.16.0-root.io.6
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.16.0-root.io.7
  • @rootio/simple-gitRoot:npmall versions · fixed in 3.27.0-root.io.6

50 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-102827 Red Hat Product Security3 known affected

    simple-git: simple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)

    keycloak-operator.redhat-00001.zip as a component of Red Hat Build of Keycloak · keycloak-operator.redhat-00003.zip as a component of Red Hat Build of Keycloak · rhbk-quarkus-dist.zip as a component of Red Hat Build of Keycloak

Full record on NVD

Fix

  1. Update Simple-git project simple-git to 4.0.0
  2. Workaround from the vendor Red Hat Product Security CVE-2026-102827 · 3 productsMitigation 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, s…
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-102827 · 3 productsAffected

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-09-29
Last modified
2026-10-08
NVD status
Analyzed
GitHub advisory
GHSA-858h-whjf-mvg5

Frequently asked questions

What is CVE-2026-102827?

simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. Prior to 4.0.0, the default blockUnsafeOperationsPlugin compares parsed option names with literal dangerous option spellings while Git accepts unambiguous long-option abbreviations. Attacker-influenced push arguments such as abbreviated --receive-pack or --exec forms can therefore bypass detectVulnerableFlags, reach git push against a local or file remote or an attacker-influenced receive-pack target, and cause Git to invoke an attacker-selected command in consumers that expose those arguments. The clone-side abbreviation handling does not protect the push path. This issue is fixed in 4.0.0.

Is CVE-2026-102827 actively exploited?

Active exploitation of CVE-2026-102827 has not been confirmed. Its EPSS score was 0.6% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-102827?

CVE-2026-102827 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running simple-git? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record