Live threats

All CVEs / Lfprojects

CVE-2025-68144Lfprojects Model Context Protocol Servers

Medium 6.3 No auth needed

Priority
53
CVSS 4.0
6.3
EPSS
—
Auth required
No
Published
Dec 17, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Model Context Protocol Servers.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mcp-server-git < 2025.12.18 2025.12.18 pip install "mcp-server-git>=2025.12.18"
PyPI mcp-server-git < 2025.12.18 2025.12.18 pip install "mcp-server-git>=2025.12.18"

Per OSV / GitHub Advisories (GHSA-9xwc-hfwc-8w59, PYSEC-2026-1622). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lfprojectsmodel_context_protocol_servers< 2025.12.17

Official sources

References

Links published by the sources. Open them with care.