Skip to main content
CVE-2025-68143VulnerabilityPublished

CVE-2025-68143: modelcontextprotocol servers · Path Traversal

Affects modelcontextprotocol serversSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium : upgrade to 2025.9.25 when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
8.1% chance of exploitation in 30 days – higher than 94% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2025.9.25
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade modelcontextprotocol/servers to 2025.9.25.

Affected software

ProductAffectedFixed in
GitHubmodelcontextprotocol/serverspkg:github/modelcontextprotocol/serversOther threatsAffected
  • <2025.9.25
Fixed in
  • 2025.9.25

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The primary mitigation is to upgrade all affected modelcontextprotocol server installations to version 2025.9.25 or later, where the git_init tool has been removed to prevent misuse. Organizations should audit their current usage of the git_init tool and ensure it is not in use or accessible. Implement strict access controls on server processes to limit filesystem permissions, minimizing the directories accessible to the server. Employ monitoring and alerting for unusual Git repository creation or modification activities, especially in non-standard directories. Conduct regular code and configuration reviews to detect unauthorized repository manipulations. Additionally, integrate security testing into the development lifecycle to catch similar path traversal issues early. Finally, maintain an inventory of software components and their versions to ensure timely patching of vulnerabilities.

Description

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2025.9.25, the git_init tool accepted arbitrary filesystem paths and created Git repositories without validating the target location. Unlike other tools which required an existing repository, git_init could operate on any directory accessible to the server process, making those directories eligible for subsequent git operations. The tool was removed entirely, as the server is intended to operate on existing repositories only. Users are advised to upgrade to 2025.9.25 or newer to remediate this issue.

References

Community reviews

Loading reviews…