simple-git
4.1.0 · 16 Nov 2026MIT15.5M / weekRepositorynpmAtom feed
2.48.0 is the newest release of 2.x.
In short
1 new2 fixed
Security
8 advisories affect 2.11.0; 3.36.0 fixes the others
- CriticalRemote code execution in simple-gitGHSA-9w5j-4mwv-2wj8 · 26 Jan 2023Fixed in 3.16.0
- 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
- Highsimple-git Affected by Command Execution via Option-Parsing BypassGHSA-jcxm-m3jx-f287 · 13 Apr 2026Fixed in 3.32.0
3 more
- Highsimple-git vulnerable to Remote Code Execution when enabling the ext transport protocolGHSA-9p95-fxvg-qgq2 · 6 Dec 2022Fixed in 3.15.0
- HighCommand injection in simple-gitGHSA-28xr-mwxg-3qc8 · 2 Apr 2022Fixed in 3.5.0
- HighCommand injection in simple-gitGHSA-3f95-r44v-8mrg · 12 Mar 2022Fixed in 3.3.0
Release note
The section about simple-git of a note shared by several packages.
2.11.0 - Parallel / concurrent tasks, fresh repo status parser & bug-fix in checkoutLocalBranch
Until now,
simple-gitreject all pending tasks in the queue when a task has failed. From2.11.0, only
tasks chained from the failing one will be rejected, other tasks can continue to be processed as normal,
giving the developer more control over which tasks should be treated as atomic chains, and which can be
run in parallel.To support this, and to prevent the issues seen when
gitis run concurrently in too many child processes,simple-gitwill limit the number of tasks running in parallel at any one time to be at most 1 from each
chain (ie: chained tasks are still run in series) and at most 5 tasks across all chains (
configurable by passing{maxConcurrentProcesses: x}in thesimpleGitconstructor).Add support to
git.status()for parsing the response of a repo that has no commits yet, previously
it wouldn't determine the branch name correctly.Resolved a flaw introduced in
2.9.0wherebycheckoutLocalBranchwould silently fail and not check out the branch
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.