MTIby Motiontic
Colour theme
VulnerabilityCVE-2025-68144GHSA-9xwc-hfwc-8w59

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

Not on CISA KEV
  • Overview

Summary

In mcp-server-git versions prior to 2025.12.17, the git_diff and git_checkout functions passed user-controlled arguments directly to git CLI commands without sanitization. Flag-like values (e.g., `--output=/path/to/file` for `git_diff`) would be interpreted as command-line options rather than git

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)