{"cve":"CVE-2025-53107","nvd":{"published":"2025-07-01T18:15:25.990","modified":"2026-06-17T09:37:38.317","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-77"],"references":["https://github.com/cyanheads/git-mcp-server/commit/0dbd6995ccdf76ab770b58013034365b2d06c4d9","https://github.com/cyanheads/git-mcp-server/releases/tag/v2.1.5","https://github.com/cyanheads/git-mcp-server/security/advisories/GHSA-3q26-f695-pp76"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:04:28.436527499+00:00"},"epss":{"cve":"CVE-2025-53107","score":0.24536,"percentile":0.9788,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-3q26-f695-pp76","url":"https://osv.dev/vulnerability/GHSA-3q26-f695-pp76","summary":"@cyanheads/git-mcp-server vulnerable to command injection in several tools","modified":"2026-02-04T02:22:02.640171Z","packages":[{"ecosystem":"npm","name":"@cyanheads/git-mcp-server","purl":"pkg:npm/%40cyanheads/git-mcp-server","ranges":["<2.1.5"],"fixed":["2.1.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}