Live threats

All CVEs / Lfprojects

CVE-2025-68145Lfprojects Model Context Protocol Servers

Medium 6.4 No auth needed

Priority
53
CVSS 4.0
6.4
EPSS
—
Auth required
No
Published
Dec 17, 2025
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
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:H/SI:H/SA:N/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, when the server is started with the --repository flag to restrict operations to a specific repository path, it did not validate that repo_path arguments in subsequent tool calls were actually within that configured path. This could allow tool calls to operate on other repositories accessible to the server process. The fix adds path validation that resolves both the configured repository and the requested path (following symlinks) and verifies the requested path is within the allowed repository before executing any git operations. Users are advised to upgrade to 2025.12.17 upon release to remediate this issue.

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-j22h-9j4x-23w5, PYSEC-2026-1623). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
lfprojectsmodel_context_protocol_servers< 2025.12.18

Official sources

References

Links published by the sources. Open them with care.