CVE-2026-102827
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.
Weakness
- CWE-77: Improper Neutralization of Special Elements used in a Command
- CWE-88: Improper Neutralization of Argument Delimiters in a Command
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-10-02 |
Timeline
- 2026-09-29Published by the CNA18:39 UTC
- 2026-10-02CISA SSVC decision recorded3 days after publication
- 2026-10-05GitHub advisory published (GHSA-858h-whjf-mvg5)6 days after publication
Exploit and advisory records
GitHub advisory GHSA-858h-whjf-mvg5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm simple-git | before 4.0.0 | 4.0.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| simple-git_project simple-git | before 4.0.0fixed in 4.0.0 | 4.0.0 |
References
- https://github.com/steveukx/git-js/commit/98864c678444d9336357c844efa4fd5a7984c0d7
- https://github.com/steveukx/git-js/pull/1193
- https://github.com/steveukx/git-js/security/advisories/GHSA-858h-whjf-mvg5
- https://github.com/steveukx/git-js/releases/tag/simple-git@4.0.0
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-102827'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-102827'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-102827'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-102827'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).