PT-2026-22055

CVE-2026-27735

·

Published

2026-02-25

·

Updated

2026-10-30

Description by

CVSS 3.1
6.5
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions mcp-server-git versions prior to 2026.1.14
Description The Model Context Protocol Servers software contains an issue where the git add tool does not properly validate file paths provided in the files argument. This allows relative paths containing ../ sequences that resolve outside the repository boundaries to be accepted and staged into the Git index. This could potentially allow sensitive files to be exfiltrated through subsequent commit and push operations. The tool utilizes GitPython's repo.index.add() which does not enforce working-tree boundary checks. The fix involves switching to repo.git.add(), which delegates to the Git CLI and enforces these checks.
Recommendations Upgrade to mcp-server-git version 2026.1.14 or newer.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-VJQX-CFC4-9H6V
PYSEC-2026-2630
Found an issue in the description? Have something to add? Feel free to write us 👾