simple-git CVE-2026-134815: upgrade to 4.1.0

simple-git CVE-2026-134815: upgrade to 4.1.0

If a Node.js project of yours uses the simple-git library, check which version it has. A GitHub advisory for CVE-2026-134815 rates a flaw in versions before 4.1.0 as Critical, with a CVSS v4.0 score of 9.2. The fix is to upgrade to simple-git 4.1.0. Last checked: 24 Nov 2026.

What is the simple-git flaw?

The advisory describes it as an argument injection vulnerability. In its words, “simple-git before 4.1.0 contains an argument injection vulnerability that allows attackers to bypass the allowUnsafePack guard by supplying the –exec option to non-push git operations.”

In plainer terms: the library has a guard setting called allowUnsafePack, meant to stop a risky git option from being passed through. Before 4.1.0, that guard could be bypassed. The advisory lists the weakness as CWE-88, which is the standard label for argument injection.

How serious is it?

The advisory’s severity is Critical, with a CVSS v4.0 score of 9.2. The NVD published the entry on 22 Nov 2026 and the GitHub Advisory Database added it on 23 Nov 2026.

Two honest limits. The page doesn’t say the flaw is being exploited, so we won’t either. And it doesn’t say how many projects use simple-git, so we can’t tell you how widespread the problem is. The entry is also labelled “Unreviewed”, and its affected-versions and patched-versions fields say “Unknown”. The “before 4.1.0” detail comes from the description text.

What should I do?

  1. Find out whether you use it. Look for simple-git in your project’s package.json or lock file, including in build scripts and internal tools.
  2. Check the installed version.
  3. If it’s older than 4.1.0, upgrade to simple-git 4.1.0 and rebuild.
  4. If you maintain a package that depends on simple-git, tell your own users to update too.

What changed in 4.1.0?

The release notes for simple-git 4.1.0, tagged Latest on GitHub, say the allowUnsafePack setting “now blocks –exec for every command other than rebase” and note that “previously only push”. The release page shows “released this 16 Nov 18:23” without a year.

That matches the advisory’s account: before, the guard covered only push, and the bypass worked through the other git operations.

Who needs to care most?

Developers and teams who run simple-git inside Node.js tools, such as scripts that clone, fetch or inspect repositories. If your code passes outside input into git commands through the library, that’s where to look first. If you’ve never installed it, nothing here applies to you.

While you’re updating Node.js tooling, we also covered the Node.js Brotli flaw CVE-2026-111497 and GPGME 2.3.1, a critical bug fix for Gpg4win.

Source and verification

Checked against the GitHub Advisory Database entry GHSA-24pq-g7mp-w876 and the simple-git 4.1.0 release notes on 24 Nov 2026.

Get one useful update every day

Verified, short, free. Join our Telegram channel: t.me/asn_daily · Instagram: @asn_daily