Loading...
Skip to main content

CVE-2026-6951 — Vulnerability in simple-git — CVE Details

HIGH

simple-git is vulnerable to Remote Code Execution

Published April 25, 2026Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published April 25, 2026 (170 days ago).
  • Last revised September 10, 2026 — 138 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update simple-git to 3.36.0 or later
npm install simple-git@3.36.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: npm (1).

PackageEcosystemAffectedFixed In
simple-git
npm
All versions3.36.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-6951?
simple-git is vulnerable to Remote Code Execution This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-6951?
CVE-2026-6951 affects simple-git. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-6951 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-hffm-xvc3-vprc

Related CVEs

  • CVE-2026-28292
    CRITICAL

    simple-git has blockUnsafeOperationsPlugin bypass via case-insensitive protocol.allow config key enables RCE

  • CVE-2026-107375
    HIGH

    JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort

  • CVE-2026-107384
    HIGH

    MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies