simple-git Remote Code Execution Vulnerability

Vulnerability

A remote code execution vulnerability exists in the simple-git package, specifically in versions prior to 3.36.0. This vulnerability arises from an incomplete fix for a previous issue that allowed the --config option to bypass security measures. If untrusted input reaches the options argument in the clone function, an attacker could exploit this by enabling protocol.ext.allow=always and using an ext:: clone source.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the system where the affected Node.js application is running.

Reproduction

The vulnerability can be reproduced by using simple-git version 3.15.0 or later, but prior to 3.36.0. After setting the 'protocol.ext.allow' configuration to 'always', untrusted input can be passed to the 'clone' command using the '--config' option. This will trigger the vulnerability by executing arbitrary commands on the host system.

Remediation

Users are advised to upgrade simple-git to version 3.36.0 or later.

Added: Apr 25, 2026, 6:19 AM
Updated: Apr 25, 2026, 6:19 AM

Vulnerability Rating

Custom Algorithm
spread
5.4
impact
10.0
exploitability
6.0
remediation
7.7
relevance
6.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.