VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2025-53107

⇱ NVD - CVE-2025-53107


  1. Vulnerabilities

CVE-2025-53107 Detail

Not Scheduled

This CVE record is not being prioritized for NVD enrichment efforts due to resource or other concerns.

Description

@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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://github.com/cyanheads/git-mcp-server/commit/0dbd6995ccdf76ab770b58013034365b2d06c4d9 GitHub, Inc.
https://github.com/cyanheads/git-mcp-server/releases/tag/v2.1.5 GitHub, Inc.
https://github.com/cyanheads/git-mcp-server/security/advisories/GHSA-3q26-f695-pp76 GitHub, Inc.

Weakness Enumeration

CWE-ID CWE Name Source
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') GitHub, Inc.  

Change History

3 change records found show changes

CVE Modified by CISA-ADP 6/17/2026 5:37:38 AM

Action Type Old Value New Value
Added SSVC
{"timestamp":"2025-07-01T18:47:58.967757Z","id":"CVE-2025-53107","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}


CVE Modified by GitHub, Inc. 6/17/2026 5:37:38 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"cyanheads","product":"git-mcp-server","versions":[{"version":"< 2.1.5","status":"affected"}]}]


New CVE Received from GitHub, Inc. 7/01/2025 2:15:25 PM

Action Type Old Value New Value
Added Description
@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.


Added CVSS V3.1
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H


Added CWE
CWE-77


Added Reference
https://github.com/cyanheads/git-mcp-server/commit/0dbd6995ccdf76ab770b58013034365b2d06c4d9


Added Reference
https://github.com/cyanheads/git-mcp-server/releases/tag/v2.1.5


Added Reference
https://github.com/cyanheads/git-mcp-server/security/advisories/GHSA-3q26-f695-pp76


Quick Info

CVE Dictionary Entry:
CVE-2025-53107
NVD Published Date:
07/01/2025
NVD Last Modified:
06/17/2026
Source:
GitHub, Inc.