Skip to content
HighVulnerability

CVE-2025-68143: mcp-server-git accepts arbitrary paths in git_init tool

Identifier
CVE-2025-68143
Published
Record updated
View JSON
Affected
  • mcp-server-git < 2025.9.25
Fixed in
2025.9.25
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
8.7%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Model Context Protocol Servers, a set of reference MCP implementations, has a flaw in mcp-server-git versions prior to 2025.9.25. The git_init tool accepted arbitrary filesystem paths and created Git repositories there without validating the target location, making any directory the server process could access eligible for later Git operations.

Mitigation

Upgrade to 2025.9.25 or newer. The git_init tool was removed entirely, since the server is intended to operate only on existing repositories.