CVE-2026-102828: steveukx git-js · OS Command Injection
Affects steveukx git-jsSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical : upgrade to 4.0.1 as a priority.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.1
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade git-js and simple-git to 4.0.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| steveukxgit-js | Affected
| Fixed in
|
npmsimple-gitpkg:npm/simple-gitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to steveukx git-js version 4.0.1 or later, where the issue is fixed by properly classifying trailer.<token>.cmd as unsafe configuration. No other mitigations are indicated by the vendor advisory. Patch status is confirmed fixed in 4.0.1.
Description
A command injection vulnerability exists in the steveukx git-js library (simple-git) versions 3.15.0 through 4.0.0. The default blockUnsafeOperationsPlugin does not treat trailer.<token>.cmd as unsafe, allowing attacker-controlled input via SimpleGitOptions.config or inline -c arguments to execute arbitrary shell commands with the Node.js process's OS permissions. This issue is fixed in version 4.0.1.
References
- github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh (opens in a new tab)
- github.com/steveukx/git-js/pull/1198 (opens in a new tab)
- github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3 (opens in a new tab)
- github.com/steveukx/git-js/releases/tag/simple-git@4.0.1 (opens in a new tab)