HIGH 9.8

CVE-2026-6951

simple-git is vulnerable to Remote Code Execution

Description

Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for CVE-2022-25912 that blocks the -c option but not the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.mvnpm » simple-gitvia npm simple-git
< 3.36.0
3.36.0
org.webjars.npm » simple-gitvia npm simple-git
< 3.36.0
3.36.0

Blast radius

2affected artifacts
8affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgist.github.com
Websecurity.snyk.io