High

simple-git is vulnerable to Remote Code Execution

  • Disclosed: 25.04.2026
  • Updated: 11.10.2026 10:22

Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package simple-git < 3.36.0 3.36.0

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hffm-xvc3-vprc - 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. simple-git is vulnerable to Remote Code Execution this entry
    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. 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.