CVE-2026-102827: simple-git - Command Injection
- Cve: CVE-2026-102827
- Name: simple-git - Command Injection
- 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.
- Impact: Attackers can execute arbitrary commands via git push, potentially leading to full system compromise.
- Remediation: Update to version 4.0.0 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs to control push arguments
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00576
- Epss percentile: 0.48217
- Assignee: [email protected]
- Published at: 2026-09-29T19:17:25Z
- Age in days: 56
- Modified at: 2026-10-08T20:11:17Z
- Patch available: yes
- Public exploits total: 2
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-102827
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/steveukx/git-js/security/advisories/GHSA-858h-whjf-mvg5 | nvd | 2026-09-29 |
| https://github.com/D7EAD/CVE-2026-102827 | poc-in-github | 2026-10-13 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| simple-git_project:simple-git | < 4.0.0 | no | nvd | /v1/products/simple-git_project/simple-git |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| steveukx/git-js | commit, package, pull, releases, security_advisory | yes | /v1/repositories/steveukx/git-js |
Index
- Repositories: 173
- Repositories high signal: 126
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-09-29
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts