Cyber Resilience

CVE-2026-6951

HighPublic PoCRCEUpdated

Published: 25 April 2026

Published
25 April 2026
Modified
30 June 2026
KEV Added
Patch
CVSS Score v4 8.2 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0088 54.6th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-6951 is a high-severity Code Injection (CWE-94) vulnerability in Simple-Git Project Simple-Git. Its CVSS base score is 8.2 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 45.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2026-6951 is a remote code execution (RCE) vulnerability (CWE-94) in versions of the simple-git npm package before 3.36.0. It stems from an incomplete fix for CVE-2022-25912, which blocked the -c option for Git configurations but failed to address the equivalent --config form. If untrusted input can reach the options argument passed to simple-git, attackers can bypass protections and execute arbitrary code.

The vulnerability has a CVSS v3.1 score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating exploitation over the network with low complexity and no privileges or user interaction required. Any remote attacker able to influence the options argument—such as through user-supplied repository URLs or configuration in applications using simple-git—can achieve RCE by setting protocol.ext.allow=always via --config and specifying an ext:: clone source, leading to full compromise of confidentiality, integrity, and availability.

Advisories from Snyk (SNYK-JS-SIMPLEGIT-15456078) and the upstream patch commit in the git-js repository recommend upgrading to simple-git version 3.36.0 or later, which addresses the --config bypass. Practitioners should audit dependencies for vulnerable simple-git usage and validate all inputs to Git options.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability 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](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…

more

passed to simple-git, an attacker may still achieve remote code execution by enabling protocol.ext.allow=always and using an ext:: clone source.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
Why these techniques?

CVE-2026-6951 is a network-accessible RCE vulnerability exploitable via untrusted input to simple-git options, directly mapping to exploitation of public-facing applications.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-28292Same product: Simple-Git Project Simple-Git
CVE-2026-28291Same product: Simple-Git Project Simple-Git
CVE-2026-41229Shared CWE-94
CVE-2026-44262Shared CWE-94
CVE-2026-40563Shared CWE-94
CVE-2024-32641Shared CWE-94
CVE-2025-71243Shared CWE-94
CVE-2026-2052Shared CWE-94
CVE-2026-9170Shared CWE-94
CVE-2025-54451Shared CWE-94

Affected Assets

simple-git project
simple-git
3.15.0 — 3.36.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Mandates timely remediation of flaws, directly addressing the incomplete fix in simple-git before 3.36.0 by requiring upgrades to patched versions.

prevent

Requires validation of untrusted inputs to simple-git options, preventing malicious --config settings like protocol.ext.allow=always from enabling RCE.

detect

Enables vulnerability scanning to identify deployments using vulnerable simple-git versions, allowing prioritization of remediation.

References