Home / simple-git / simple-git / CVE-2026-6951
CVE-2026-6951: is it exploited, and which versions of simple-git are affected and fixed?
CVE-2026-6951 is a code injection (remote code execution) vulnerability in simple-git. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: simple-git before 3.36.0 (GitHub advisory GHSA-hffm-xvc3-vprc). Fixed in 3.36.0 (GitHub advisory GHSA-hffm-xvc3-vprc). Severity: Critical (9.2, CVSS 4.0, from snyk).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is 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 [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221) 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.
From the CVE record by snyk, last updated September 14, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| simple-git | before 3.36.0 | 3.36.0 | |
| org.webjars.npm:simple-git | all versions |
As the CVE record by snyk states it, last updated September 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | simple-git | < 3.36.0 | 3.36.0 | GHSA-hffm-xvc3-vprc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 5, 2026. Summary: simple-git is vulnerable to Remote Code Execution.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| simple-git project | simple-git | from 3.15.0 before 3.36.0 | application |
NVD analysis (status Modified), last modified November 11, 2026, 23:10 UTC.
How severe is CVE-2026-6951?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P | snyk |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P | snyk |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-6951 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, April 25, 2026)
- EPSS
- 0.89% probability of exploitation activity in the next 30 days, percentile 60.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
- https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6
- https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8
- https://access.redhat.com/security/cve/CVE-2026-6951 vdb-entry, x_refsource_REDHAT
- RHBZ#2461750 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json x_sadp-csaf-vex
Who found and reported it?
- Kuycheu Kung (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 24, 2026
- Published
- April 25, 2026, 05:00 UTC
- CVE record updated
- September 14, 2026, 12:04 UTC by snyk
- NVD
- Modified, last modified November 11, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect simple-git?
- Jan 24, 2023CVE-2022-25860 simple-git: code injection (remote code execution)
- Dec 12, 2022CVE-2022-25912 simple-git: OS command injection
- Apr 1, 2022CVE-2022-24066 simple-git: argument injection
- Mar 11, 2022CVE-2022-24433 simple-git: argument injection
Questions about CVE-2026-6951
Is CVE-2026-6951 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.89% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of simple-git are affected by CVE-2026-6951?
simple-git before 3.36.0, per the GitHub advisory GHSA-hffm-xvc3-vprc. The tables above give every range the sources list.
Which version fixes CVE-2026-6951?
3.36.0, per the GitHub advisory GHSA-hffm-xvc3-vprc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-6951?
Critical (9.2, CVSS 4.0, from snyk). The severity table above shows each score with its source.
Where is the official record of CVE-2026-6951?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.