CVE-2022-25912: simple-git_project simple-git OS Command Injection
Vulnerability summary
CVE-2022-25912 is a critical (CVSS 9.8) OS Command Injection vulnerability in simple-git_project simple-git. EPSS estimates a 3.08% chance of exploitation in the next 30 days, higher than 87.4% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 12-12-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
Description
The package simple-git before 3.15.0 are vulnerable to Remote Code Execution (RCE) when enabling the ext transport protocol, which makes it exploitable via clone() method. This vulnerability exists due to an incomplete fix of [CVE-2022-24066](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306).
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:PDiffers
- OSV · NpmEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- wordfenceSource9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.08%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
+0.29 pp
From 2.78% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (security.snyk.io)
Maturity: unknown
Exploit Reference (security.snyk.io)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected systems
Wordpress5 products
- autoshare-for-twitter≤ 1.2.1 (fixed in 1.3.0)
- elasticpress≤ 4.4.0 (fixed in 4.4.1)
- insert-special-characters≤ 1.0.5 (fixed in 1.0.6)
- maps-block-apple≤ 1.0.3 (fixed in 1.1.0)
- simple-podcasting≤ 1.3.0 (fixed in 1.4.0)
Npm1 product
- simple-git< 3.15.0
Simple-git_project1 product
- simple-git< 3.15.0
3 vendors · 7 products
References
8 links- github.com/steveukx/git-js/commit/774648049eb3e628379e292ea172dccaba610504WEBPatchThird Party Advisory
- github.com/steveukx/git-jsPACKAGE