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…

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

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

Description

simple-git versions prior to 3. 36. 0 contain a remote code execution vulnerability due to an incomplete fix for a previous issue (CVE-2022-25912). The vulnerability arises because the mitigation only blocked the '-c' option but not the equivalent '--config' form, allowing an attacker to enable a dangerous Git configuration and execute arbitrary code if untrusted input reaches the options argument. This vulnerability has a critical severity with a CVSS score of 9. 2.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/25/2026, 05:51:00 UTC

Technical Analysis

The simple-git package before version 3.36.0 is vulnerable to remote code execution because an incomplete fix for CVE-2022-25912 failed to block the '--config' option equivalent to the '-c' option. This allows an attacker who can influence the options argument passed to simple-git to enable 'protocol.ext.allow=always' and use an 'ext::' clone source to execute arbitrary code remotely. The vulnerability is network exploitable without privileges or user interaction and has a high impact on confidentiality, integrity, and availability.

Potential Impact

An attacker able to supply untrusted input to the options argument of simple-git can execute arbitrary code remotely, potentially compromising the affected system fully. The vulnerability affects confidentiality, integrity, and availability with high impact, making it critical to address in environments using vulnerable versions.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 3.36.0, upgrading to version 3.36.0 or later (once available) is expected to resolve the issue. Until an official fix is confirmed, avoid passing untrusted input to the options argument in simple-git.

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

Threat ID: 69ec52c387115cfb68273f89

Added to database: 4/25/2026, 5:36:03 AM

Last enriched: 4/25/2026, 5:51:00 AM

Last updated: 4/25/2026, 7:42:09 AM

Views: 179

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