7.1

CVE-2025-68144: mcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local files

Analyzed
AliasesGHSA-9xwc-hfwc-8w59PYSEC-2026-1622
Published 17-12-2025Last modified 18-12-2025

Vulnerability summary

CVE-2025-68144 is a high (CVSS 7.1) vulnerability in lfprojects model_context_protocol_servers. EPSS estimates a 7.72% chance of exploitation in the next 30 days, higher than 94.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (NVD)
EPSS score
7.72%
0%100%
Low · +0.51 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 17-12-2025
    PublishedVulnerability first disclosed.
  2. 18-12-2025
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

7.72%

Chance of exploitation in the next 30 days

Percentile

95%

Versus all other CVEs

30-day change

Increase +0.51 pp

From 7.21% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Lfprojects1 product
Modelcontextprotocol1 product
PyPI1 product
  • mcp-server-git< 2025.12.18

3 vendors · 3 products

References

5 links