Advisory

GHSA-hffm-xvc3-vprc

Also known as: CVE-2026-6951

Summary

simple-git is vulnerable to Remote Code Execution

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-25 06:30 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

simple-git

npm · All systems

Affected

  • introduced 0, fixed 3.36.0 (semver)

Fixed versions

3.36.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences