Live threats

All CVEs / Simple-git Project

CVE-2022-24066Simple-git Project Simple-git

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
4.2%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Apr 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Simple-git.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm simple-git < 3.5.0 3.5.0 npm install simple-git@3.5.0

Per OSV / GitHub Advisories (GHSA-28xr-mwxg-3qc8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
simple-git_projectsimple-git< 3.5.0

Official sources

References

Links published by the sources. Open them with care.