cve.bz

CVE-2026-27735

6.4 mediumEPSS 0.3%

Medium (6.4) in lfprojects model context protocol servers. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in mcp-server-git 2026.1.14.

Model Context Protocol Servers is a collection of reference implementations for the model context protocol (MCP). In mcp-server-git versions prior to 2026.1.14, the git_add tool did not validate that file paths provided in the files argument were within the repository boundaries. Because the tool used GitPython's repo.index.add() rather than the Git CLI, relative paths containing `../` sequences that resolve outside the repository were accepted and staged into the Git index. Users are advised to upgrade to 2026.1.14 or newer to remediate this issue.

Severity

CVSS 4.0

6.4 medium
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

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 28% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vjqx-cfc4-9h6vPyPImcp-server-git<2026.1.142026.1.14
PYSEC-2026-2630PyPImcp-server-git<2026.1.142026.1.14

References

Check your stackJSON