CVE-2022-25860Simple-git Project Simple-git
Critical 9.8 No auth needed
Follow: this CVE · Simple-git Project · Simple-git Project Simple-git We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jan 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization.
This vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).
What to do
- Apply the vendor's security update for Simple-git.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | simple-git |
< 3.16.0 |
3.16.0 |
npm install simple-git@3.16.0 |
Per OSV / GitHub Advisories (GHSA-9w5j-4mwv-2wj8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| simple-git_project | simple-git | < 3.16.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- security.snyk.io Exploit Third Party Advisory