CVE-2022-25860
CRITICAL 9.8CVSS 3.1Remote code execution in simple-git
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.
- Published
- 26 Jan 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-78CWE-94
- Also known as
- GHSA-9w5j-4mwv-2wj8
- Sources
- NVDJSONOSV GHSA-9w5j-4mwv-2wj8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | simple-git_project | simple-gitcpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* |
< 3.16.0 | 3.16.0 |
| OSV | npm | simple-git | < 3.16.0 | 3.16.0 |
References
- https://github.com/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951 · Patch, Third Party Advisory, WEB
- https://github.com/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13 · Patch, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25860 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 26 Jan 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Jan 2023)