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.
{
"cna_assigner": "snyk",
"cwe_ids": [
"CWE-94"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6951.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "*"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
]
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "3.15.0"
},
{
"fixed": "3.36.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "89a2294febed5dfe737c4c735d936bb6018746a8"
}
],
"source": "REFERENCES_COMMIT"
}
]
}