SecurityContext

CVE-2026-6951: simple-git - Remote Code Execution

  • Cve: CVE-2026-6951
  • Name: simple-git - 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](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.
  • Impact: Attackers can execute arbitrary code remotely by exploiting the incomplete fix in options parsing.
  • Remediation: Upgrade to version 3.36.0 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00893
  • Epss percentile: 0.60355
  • Assignee: [email protected]
  • Published at: 2026-04-25T06:16:16Z
  • Age in days: 213
  • Modified at: 2026-11-11T23:10:00Z
  • Patch available: yes
  • Public exploits total: 3
  • References total: 7
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-6951
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code
CWE-88Improper Neutralization of Argument Delimiters in a Command

Public exploits

UrlSourceAdded date
https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6nvd2026-04-25
https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078nvd2026-04-25
https://github.com/EQSTLab/CVE-2026-6951poc-in-github2026-09-28

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/steveukx/git-js/commit/89a2294febed5dfe737c4c735d936bb6018746a8Patch
https://gist.github.com/KKC73/02d1d97f3410756095b501fda0ac8ca6Exploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-15456078Exploit, Third Party Advisory
https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16300211
https://access.redhat.com/security/cve/CVE-2026-6951
https://bugzilla.redhat.com/show_bug.cgi?id=2461750
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6951.json

Products

ProductAffectedPlatform boundSourcesUrl
simple-git_project:simple-git>= 3.15.0, < 3.36.0nonvd/v1/products/simple-git_project/simple-git

Projects

RepositoryLink kindsIndexedUrl
steveukx/git-jscommit, fix, packageyes/v1/repositories/steveukx/git-js

Index

  • Repositories: 95
  • Repositories high signal: 59
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 3
  • Public exploit first date: 2026-04-25
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts