CVE-2025-68144
MEDIUM EPSS 93.6%
Published Dec 17, 20256mo ago · Modified Jun 17, 20261w ago
6.3 CVSS 4.0
Published Dec 17, 2025 6mo ago
Last Modified Jun 17, 2026 1w ago
Description
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 refs, enabling arbitrary file overwrites. The fix adds validation that rejects arguments starting with - and verifies the argument resolves to a valid git ref via rev_parse before execution. Users are advised to update to 2025.12.17 resolve this issue when it is released.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction P
Scope X
Threat Intelligence
EPSS Exploit Probability
93.6% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 1
CWE-88
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| lfprojects | model_context_protocol_servers | * | <2025.12.17 |
References 1
- github.com https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-9xwc-hfwc-8w59
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.