SCA: security update for @cyanheads/git-mcp-server (GHSA-3q26-f695-pp76)

high Tenable Cloud Security Plugin ID 428265

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- @cyanheads/git-mcp-server is an MCP server designed to interact with Git repositories. Prior to version
2.1.5, there is a command injection vulnerability caused by the unsanitized use of input parameters within
a call to child_process.exec, enabling an attacker to inject arbitrary system commands. Successful
exploitation can lead to remote code execution under the server process's privileges. The server
constructs and executes shell commands using unvalidated user input directly within command-line strings.
This introduces the possibility of shell metacharacter injection (|, >, &&, etc.). An MCP Client can be
instructed to execute additional actions for example via indirect prompt injection when asked to read git
logs. This issue has been patched in version 2.1.5. (CVE-2025-53107)

See Also

https://github.com/advisories/GHSA-3q26-f695-pp76

Plugin Details

Severity: High

ID: 428265

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 6/30/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.95

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2025-53107

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/30/2025

Vulnerability Publication Date: 6/30/2025

Reference Information

CVE: CVE-2025-53107

cwe: CWE-77