CVE-2026-106764 Details
Description
An issue in @rog0x/mcp-git-tools 1.0.1 allows a remote attacker to execute arbitrary code via the resolveBaseBranch function.
A command injection vulnerability has been identified in @rog0x/mcp-git-tools version 1.0.1. This vulnerability allows remote attackers to execute arbitrary code by exploiting the resolveBaseBranch function, where the baseBranch argument is passed unescaped into a Git command, executed with child_process.execSync.
To address this vulnerability, update the @rog0x/mcp-git-tools package to a version that applies the necessary fixes. The recommended fix is to pass arguments as an array to execFile or spawn, rather than interpolating them into a shell string.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 23, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rog0x/mcp-git-tools/issues/1 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://stillosdigitalholdings.com/advisories/CVE-2026-106764.cve.json | [email protected] | AdvisoryPartial Content |
| https://www.npmjs.com/package/@rog0x/mcp-git-tools | [email protected] | Content WallProduct |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| rog0x/mcp-git-tools | < 1.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 23, 2026 | New CVE Received | [email protected] |
Volerion