Read the docs
TI-2022-08306 Aliases CVE-2022-24433GHSA-3f95-r44v-8mrg

Command injection in simple-git

Priority MEDIUM 48CWE-88Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-88.

Summary

The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

Why it matters now

EPSS 0.03707 89th percentileScored 2026-11-07
Fix Fixed simple-git: 3.3.0simple-git (npm): 3.3.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—simple-gitbefore 3.3.03.3.0Patch availableCNA
—simple-git (npm)before 3.3.03.3.0Patch availableGHSA-3f95-r44v-8mrg
  • simple-git Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available CNA
  • simple-git (npm) Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available GHSA-3f95-r44v-8mrg

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*before 3.3.0Vulnerablesteveukx
  • cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:* Versions before 3.3.0 Vulnerable ·steveukx

Remediation

  • Fix · CNA simple-git Fixed in 3.3.0
  • Fix · GHSA-3f95-r44v-8mrg simple-git (npm) Fixed in 3.3.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24433
  2. 2026-10-03 Alias added: GHSA-3f95-r44v-8mrg

References

  • TI-2026-22598 simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key that enables RCE CVSS 3.1CRITICAL 9.8
  • TI-2022-09464 Remote code execution (RCE) in simple-git CVSS 3.1CRITICAL 9.8
  • TI-2026-06084 Code injection in simple-git CVSS 4.0CRITICAL 9.2
  • TI-2022-09425 Code injection in simple-git CVSS 3.1CRITICAL 9.8
  • TI-2026-65515 simple-git allows command execution through unblocked Git configuration includes CVSS 3.1HIGH 8.1
  • TI-2026-22597 simple-git has Command Execution via Option-Parsing Bypass CVSS 3.1HIGH 8.1
See all 9 →

Sources