Arbitrary Argument Injection Affecting simple-git package, versions <4.1.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.75% (56th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SIMPLEGIT-22804375
  • published23 Nov 2026
  • disclosed22 Nov 2026
  • creditZachariah Mithani

Introduced: 22 Nov 2026

NewCVE-2026-134815  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade simple-git to version 4.1.0 or higher.

Overview

simple-git is a light weight interface for running git commands in any node.js application.

Affected versions of this package are vulnerable to Arbitrary Argument Injection via the --exec option in listRemote() and raw(), which allows attackers to bypass the allowUnsafePack guard by injecting --exec into non-push git operations such as ls-remote, archive, fetch-pack, or send-pack, resulting in arbitrary command execution on the host.

CVSS Base Scores

version 4.0
version 3.1