CVE-2026-28291: simple-git_project simple-git OS Command Injection
Vulnerability summary
CVE-2026-28291 is a high (CVSS 8.1) OS Command Injection vulnerability in simple-git_project simple-git. EPSS estimates a 0.93% chance of exploitation in the next 30 days, higher than 59.9% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 13-04-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
Description
simple-git enables running native Git commands from JavaScript. Versions up to and including 3.31.1 allow execution of arbitrary commands through Git option manipulation, bypassing safety checks meant to block dangerous options like -u and --upload-pack. The flaw stems from an incomplete fix for CVE-2022-25860, as Git's flexible option parsing allows numerous character combinations (e.g., -vu, -4u, -nu) to circumvent the regular-expression-based blocklist in the unsafe operations plugin. Due to the virtually infinite number of valid option variants that Git accepts, a complete blocklist-based mitigation may be infeasible without fully emulating Git's option parsing behavior. This issue has been fixed in version 3.32.0.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · NpmEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.93%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
+0.28 pp
From 0.65% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGit Js
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard1 product
- gemini-cli< 0.49.0-r3
Npm1 product
- simple-git< 3.32.0
Simple-git_project1 product
- simple-git< 3.32.0
Steveukx1 product
- git-js< 3.32.0
4 vendors · 4 products
References
11 links- github.com/steveukx/git-js/security/advisories/GHSA-jcxm-m3jx-f287X Refsource CONFIRMWEBAdvisoryExploitVendor Advisory
- github.com/steveukx/git-js/commit/1effd8e5012a5da05a9776512fac3e39b11f2d2dX Refsource MISCWEBFIXPatch
- github.com/steveukx/git-jsPACKAGE