Advisory record · GHSA-vjqx-cfc4-9h6v

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

CVSS 6.4 MediumEPSS 0.0034 · 28th percentile

Published by the GitHub Advisory Database at 26 Feb 2026, 15:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mcp-server-gitPyPI<2026.1.142026.1.14
Identifiers
GHSA-vjqx-cfc4-9h6v · CVE-2026-27735 · PYSEC-2026-2630
Weakness (CWE)
CWE-22
Published
26 Feb 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

mcp-server-git versions before 2026.1.14 have a path traversal flaw in the git_add tool, which accepted file paths containing "../" that resolved outside the repository and staged them into the Git index. An attacker who can make the tool call git_add with crafted paths could stage sensitive files outside the repository, which may then be committed and pushed. Upgrade to mcp-server-git 2026.1.14 or newer.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.4 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0034, the 28th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:03 UTC First seen by agentprime
  2. 31 Oct 2026, 15:03 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.