CVE-2025-68145: Vulnerability in Lfprojects Model Context Protocol Servers

Critical. In mcp-server-git versions prior to 2025.12.18, 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...

PyPI, CWE-22

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-j22h-9j4x-23w5
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-22
Published
17 Dec 2025
Last change
30 Sept 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Lfprojects Model Context Protocol Servers Before 2025.12.18. Fixed in 2025.12.18

Affected packages

Vulnerable version ranges and fixed releases

  • mcp-server-git PyPI, Affected before 2025.12.18. Fixed in 2025.12.18

Advisories

Vendor and security advisories

Related