CVE-2025-68144 is an argument injection vulnerability in Anthropic's mcp-server-git affecting versions prior to 2025.12.18. The git_diff and git_checkout functions pass user-controlled arguments directly to underlying git CLI/GitPython invocations without sanitization. In the documented vulnerable pattern, git_diff calls repo.git.diff(f"--unified={context_lines}", target), where the attacker-controlled target parameter is forwarded as a raw git argument. Because values beginning with '-' are interpreted by git as command-line options rather than refs or paths, an attacker can inject git flags such as --output=/path/to/file. This allows the attacker to alter command behavior and direct diff output to arbitrary filesystem locations reachable by the server. Reported fixes add validation to reject arguments starting with '-' and verify that the supplied value resolves to a valid git ref via rev-parse before execution.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
High-severity vulnerability in Anthropic’s mcp-server-git (Git MCP server) enabling path traversal/argument injection via prompt injection, potentially leading to file read/delete and remote code execution.
Unknown
An argument injection vulnerability in the git_diff functionality of Anthropic’s Git MCP server that can be chained with other MCP tools to enable remote code execution or file overwrites, typically triggered through indirect prompt injection content in repos/issues.
An argument injection flaw in the git_diff functionality of Anthropic's Git MCP server that researchers said could be chained with other MCP tools, particularly the Filesystem MCP server, to enable remote code execution or file tampering through prompt injection.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.