simple-git
4.1.0 · 16 Nov 2026MIT15.5M / weekRepositorynpmAtom feed
3.36.0 is the newest release of 3.x.
In short
3 new
Security
6 advisories affect 3.29.0; 4.0.1 fixes the others
- Criticalsimple-git unsafe-operation guard does not block trailer command configurationGHSA-x6jw-m9v5-85vh · 5 Oct 2026Fixed in 4.0.1
- Criticalsimple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key enables RCEGHSA-r275-fr43-pm7q · 10 Mar 2026Fixed in 3.32.3
- Highsimple-git allows command execution through unblocked Git configuration includesGHSA-g4wm-2vf7-vfgr · 5 Oct 2026No fix yet
- Highsimple-git: unsafe-operations plugin bypass via git long-option abbreviation (--receive-p/--exe) -> command execution (residual of CVE-2026-28291)GHSA-858h-whjf-mvg5 · 5 Oct 2026No fix yet
- Highsimple-git is vulnerable to Remote Code ExecutionGHSA-hffm-xvc3-vprc · 25 Apr 2026Fixed in 3.36.0
1 more
- Highsimple-git Affected by Command Execution via Option-Parsing BypassGHSA-jcxm-m3jx-f287 · 13 Apr 2026Fixed in 3.32.0
Release note
The section about simple-git of a note shared by several packages.
Minor Changes
Support for absolute paths on Windows when using
git.checkIngore, previously Windows would report
paths with duplicate separators\\\\between directories.Following this change all paths returned from
git.checkIgnorewill be normalized throughnode:path,
this should have no impact on non-windows users where thegitbinary doesn't wrap absolute paths with
quotes.Support the use of
git.branch(['--show-current'])to limit the branch list to only the current branch.Change to biome for lint and format
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.