Arbitrary Argument Injection Affecting mcp-server-git package, versions [,2025.12.18)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
7.32% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-MCPSERVERGIT-14535465
  • published19 Dec 2025
  • disclosed17 Dec 2025
  • creditYarden Porat

Introduced: 17 Dec 2025

CVE-2025-68144  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade mcp-server-git to version 2025.12.18 or higher.

Overview

mcp-server-git is an A Model Context Protocol server providing tools to read, search, and manipulate Git repositories programmatically via LLMs

Affected versions of this package are vulnerable to Arbitrary Argument Injection via the git_diff() and git_checkout() functions. An attacker can overwrite arbitrary local files by supplying specially crafted arguments (e.g., --output=/path/to/file for git_diff) that are interpreted as command-line options by the underlying git CLI.

References

CVSS Base Scores

version 4.0
version 3.1