# CVE-2022-24066: Command Injection

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.5.0 (CNA); fix release not confirmed
- Status: published
- Published: 2022-04-01 · Modified: 2024-09-16
- Aliases: GHSA-28xr-mwxg-3qc8
- Record: https://cvemate.com/vulnerability/CVE-2022-24066 · JSON: https://cvemate.com/vulnerability/CVE-2022-24066/json

## Description

```text
The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 3.928%, percentile 90.672%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- Npm simple-git (Npm): \< 3.5.0
- simple-git\_project simple-git: \< 3.5.0

## References

- <https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306>
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820>
- <https://gist.github.com/lirantal/a930d902294b833514e821102316426b>
- <https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24066>
- <https://github.com/steveukx/git-js>
- <https://github.com/steveukx/git-js/releases/tag/simple-git%403.5.0>

---

Data as of 2026-12-05T07:51:50.419Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
