# CVE-2025-68144: PYSEC-2026-1622 - mcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local files

Source: https://junglewise.ai/threats/cve-2025-68144-mcp-server-git-argument-injection-in-git-diff-and-git-checkout  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2025-68144 · Severity: medium · CVSS 4 · Published 2026-07-07

mcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local files

Technologies: [mcp-server-git (PyPI)](https://junglewise.ai/threats/technologies/mcp-server-git). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-68144 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-68144 being exploited in the wild.

**How severe is CVE-2025-68144?** Medium severity, with a CVSS score of 4, published 7 July 2026.

**Which products and versions are affected?** mcp-server-git (PyPI) ECOSYSTEM:introduced=0,fixed=2025.12.18.

**Is there a fix for CVE-2025-68144?** Yes. mcp-server-git (PyPI): upgrade to 2025.12.18 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-68144?** Check whether you run mcp-server-git (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mcp-server-git (PyPI): upgrade to 2025.12.18 or later

  ```sh
  pip install "mcp-server-git>=2025.12.18"
  ```


## Affected products

- mcp-server-git (PyPI) ECOSYSTEM:introduced=0,fixed=2025.12.18

## Identifiers

- CVE-2025-68144
- GHSA-9xwc-hfwc-8w59
- PYSEC-2026-1622

## Related threats

- [PYSEC-2026-2630 - mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries](https://junglewise.ai/threats/cve-2026-27735-mcp-server-git-path-traversal-in-git-add-allows-staging-files)
- [PYSEC-2026-1623 - mcp-server-git has missing path validation when using --repository flag](https://junglewise.ai/threats/cve-2025-68145-mcp-server-git-has-missing-path-validation-when-using-repository)
- [PYSEC-2026-1621 - mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations](https://junglewise.ai/threats/cve-2025-68143-mcp-server-git-s-unrestricted-git-init-tool-allows-repository)
