NVD Vulnerability Detail
Search Exploit, PoC
CVE-2025-68144
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 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.

Publication Date Dec. 18, 2025, 8:16 a.m.
Registration Date April 15, 2026, 11:18 a.m.
Last Update April 15, 2026, 12:23 a.m.
CVSS3.1 : HIGH
スコア 7.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:lfprojects:model_context_protocol_servers:*:*:*:*:*:*:*:* 2025.12.17
Related information, measures and tools
Common Vulnerabilities List