{"cve":"CVE-2026-27735","nvd":{"published":"2026-02-26T00:16:25.017","modified":"2026-06-17T10:27:34.540","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":6.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/modelcontextprotocol/servers/pull/3164","https://github.com/modelcontextprotocol/servers/security/advisories/GHSA-vjqx-cfc4-9h6v"],"products":["lfprojects:model_context_protocol_servers"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27735","score":0.00345,"percentile":0.28044,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-vjqx-cfc4-9h6v","url":"https://osv.dev/vulnerability/GHSA-vjqx-cfc4-9h6v","summary":"mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries","modified":"2026-07-13T16:42:29.302272097Z","packages":[{"ecosystem":"PyPI","name":"mcp-server-git","purl":"pkg:pypi/mcp-server-git","ranges":["<2026.1.14"],"fixed":["2026.1.14"]}]},{"id":"PYSEC-2026-2630","url":"https://osv.dev/vulnerability/PYSEC-2026-2630","summary":"mcp-server-git : Path traversal in git_add allows staging files outside repository boundaries","modified":"2026-07-13T16:32:13.804937383Z","packages":[{"ecosystem":"PyPI","name":"mcp-server-git","purl":"pkg:pypi/mcp-server-git","ranges":["<2026.1.14"],"fixed":["2026.1.14"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}