Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 45%

CVE-2026-6951: Remote Code Execution (RCE) in simple-git

0
Critical
VulnerabilityCVE-2026-6951cvecve-2026-6951gcve
Published: 04/25/2026 (04/25/2026, 05:00:05 UTC)
Source: CVE Database V5
Product: simple-git

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.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

simple-git
pkg:npm/simple-git
Affected versions
<3.36.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 22:51:23 UTC

Technical Analysis

CVE-2026-6951 affects simple-git versions prior to 3.36.0. It is a remote code execution vulnerability stemming from an incomplete fix for CVE-2022-25912. While the earlier fix blocked the -c option, it did not block the equivalent --config form. This allows an attacker who can supply untrusted input to the options argument to enable protocol.ext.allow=always and specify an ext:: clone source, potentially leading to remote code execution. The vulnerability has a CVSS 4.0 base score of 9.2, indicating critical severity.

Potential Impact

If exploited, this vulnerability allows an unauthenticated attacker to execute arbitrary code remotely via crafted input to the options argument in simple-git. This can lead to full system compromise where simple-git is used with untrusted input. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory does not explicitly state a fix or workaround. Users should avoid passing untrusted input to the options argument in simple-git until a fix is available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
snyk
Date Reserved
2026-04-24T07:25:39.128Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null
Epss Score
0.00085
Epss Percentile
0.2445
Epss Date
2026-04-26
Gcve Source
db.gcve.eu
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-6951","vendor":"Red Hat"}]

Threat ID: 69ec52c387115cfb68273f89

Added to database: 04/25/2026, 05:36:03 UTC

Last enriched: 07/22/2026, 22:51:23 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 739

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses