High

Command injection in simple-git

  • Disclosed: 02.04.2022
  • Updated: 11.10.2026 10:22

simple-git (maintained as git-js named repository on GitHub) is a light weight interface for running git commands in any node.js application.The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of CVE-2022-24433 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. A fix was released in simple-git@3.5.0.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package simple-git < 3.5.0 3.5.0

References

CVSS score 8.1/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-88
Platform
npm
Package
simple-git
Disclosed
02.04.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-28xr-mwxg-3qc8 - CC BY 4.0

Vulnerability history: simple-git

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (10) in the archive
Total entries
10
First → latest
03.2022 10.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 7

Disclosures per year

  1. 2022: 3
  2. 2023: 1
  3. 2024: 0
  4. 2025: 0
  5. 2026: 6
Severity:
  1. Critical CVE-2026-102828 >= 3.15.0, < 4.0.1 4.0.1
  2. High · 9.8 CVE-2026-6951 < 3.36.0 3.36.0
  3. High · 8.1 CVE-2026-28291 < 3.32.0 3.32.0
  4. High · 8.1 CVE-2022-25860 < 3.16.0 3.16.0
  5. Critical · 9.8 CVE-2022-25912 < 3.15.0 3.15.0
  6. Command injection in simple-git this entry
    High · 8.1 CVE-2022-24066 < 3.5.0 3.5.0
  7. High · 8.1 CVE-2022-24433 < 3.3.0 3.3.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.