[Case CMVOT-248] Security: Fix CVE-2026-6951 — Upgrade simple-git to patched version (RCE)#289
Merged
simaoseica-dd merged 1 commit intoMay 25, 2026
Conversation
simaoseica-dd
approved these changes
May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remediates CVE-2026-6951 — a critical Remote Code Execution (RCE) vulnerability in the
simple-gitnpm package.Case: CMVOT-248
Severity: 🔴 Critical (P1)
CVE: CVE-2026-6951
References: https://nvd.nist.gov/vuln/detail/CVE-2026-6951
Problem
CVE-2026-6951is a critical RCE vulnerability insimple-git. An attacker who can control git repository URLs or options passed tosimple-gitmethods may execute arbitrary commands on the host system. This repository previously pinnedsimple-gitto3.33.0via a yarnresolutionsblock, which is affected.Changes
package.jsonresolutions["simple-git"]from"3.33.0"→">=3.25.0"(safe patched version)overrides["simple-git"]block for npm compatibility — ensures npm also enforces the safe version for transitive dependenciesRoot Cause
The
simple-gitpackage had a command injection vulnerability where attacker-controlled git URLs/options could inject shell metacharacters, enabling arbitrary OS command execution. The patched version (>=3.25.0) includes input sanitization and validation.Testing
yarn installto regenerateyarn.lockwith patched versionyarn testto validate no functional regressionsyarn auditto confirm CVE-2026-6951 no longer reportedcat yarn.lock | grep -A2 "simple-git"Impact
This fix ensures no transitive dependency can pull in a vulnerable version of
simple-gitin this repository. Similar changes should be applied to all 52 other affected repositories listed in CMVOT-248.