GitHub Advisoryadvisory · npm

GHSA-hffm-xvc3-vprc simple-git is vulnerable to Remote Code Execution

HIGH Published 2026-04-25 Modified 2026-05-05 Official page ↗
Aliases
CVE-2026-6951
Ecosystem
npm
Packages
simple-git
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-94
Reviewed
2026-05-05

Affected packages

• npm simple-git: < 3.36.0 → fixed in 3.36.0

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.

Related

Alias · CVE (1)

  • CVE-2026-6951 Versions of the package simple-git before 3.36.0 are vulnerable to Remote Code Execution (RCE) due to an incomplete fix for… vulnerability

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References