# CVE-2026-27735: PYSEC-2026-2630 - mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries

Source: https://junglewise.ai/threats/cve-2026-27735-mcp-server-git-path-traversal-in-git-add-allows-staging-files  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-13  
License: CC BY 4.0 with a link back

CVE-2026-27735 · Severity: medium · CVSS 4 · Published 2026-07-13

mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries

Technologies: [mcp-server-git (PyPI)](https://junglewise.ai/threats/technologies/mcp-server-git). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-27735 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-27735 being exploited in the wild.

**How severe is CVE-2026-27735?** Medium severity, with a CVSS score of 4, published 13 July 2026.

**Which products and versions are affected?** mcp-server-git (PyPI) ECOSYSTEM:introduced=0,fixed=2026.1.14.

**Is there a fix for CVE-2026-27735?** Yes. mcp-server-git (PyPI): upgrade to 2026.1.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-27735?** Check whether you run mcp-server-git (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mcp-server-git (PyPI): upgrade to 2026.1.14 or later

  ```sh
  pip install "mcp-server-git>=2026.1.14"
  ```


## Affected products

- mcp-server-git (PyPI) ECOSYSTEM:introduced=0,fixed=2026.1.14

## Identifiers

- CVE-2026-27735
- GHSA-vjqx-cfc4-9h6v
- PYSEC-2026-2630

## Related threats

- [PYSEC-2026-1622 - mcp-server-git argument injection in git_diff and git_checkout functions allows overwriting local files](https://junglewise.ai/threats/cve-2025-68144-mcp-server-git-argument-injection-in-git-diff-and-git-checkout)
- [PYSEC-2026-1623 - mcp-server-git has missing path validation when using --repository flag](https://junglewise.ai/threats/cve-2025-68145-mcp-server-git-has-missing-path-validation-when-using-repository)
- [PYSEC-2026-1621 - mcp-server-git's unrestricted git_init tool allows repository creation at arbitrary filesystem locations](https://junglewise.ai/threats/cve-2025-68143-mcp-server-git-s-unrestricted-git-init-tool-allows-repository)
