CVE-2026-102828Simple Git Project Simple-git OS command injection
CVSS score
9.2
Critical
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.37%
0.37% chance of exploitation in the next 30 days, higher than 31.6% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
simple-git, an interface for running git commands in any node.js application, enables applications to execute Git operations from JavaScript. From 3.15.0 until 4.0.1, the default blockUnsafeOperationsPlugin does not classify trailer.<token>.cmd as unsafe configuration. An application that passes attacker-controlled values through SimpleGitOptions.config or inline -c arguments can therefore allow Git to invoke an attacker-selected shell command when git interpret-trailers processes the configured trailer. The command executes with the operating-system identity and permissions of the Node.js process. This issue is fixed in 4.0.1.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running simple-git_project Simple-git, steveukx Git-js and compare its version with the affected versions.
Update to a fixed version
- Update Simple-git, Git-js to 4.0.1 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| simple-git_project Simple-git | ≥ 3.15.0, < 4.0.1 |
| steveukx Git-js | >= 3.15.0, < 4.0.1 |
Frequently asked questions
Is CVE-2026-102828 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102828?
CVE-2026-102828 has a CVSS 4.0 base score of 9.2 (critical).
Which versions are affected?
Simple Git Project Simple-git (≥ 3.15.0, < 4.0.1), Steveukx Git-js (>= 3.15.0, < 4.0.1)
Is there a patch for CVE-2026-102828?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3(Patch)
- github.com/steveukx/git-js/pull/1198(Patch)
- github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh(Mitigation, Vendor Advisory)
- github.com/steveukx/git-js/releases/tag/simple-git@4.0.1(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.