mcp-cve-project

GHSA-q74p-4wrc-q7w6 | mcp-server-git: Incomplete Fix for GHSA-w766-5x43-whvw in validate_opened_repo() Allows –repository | Medium |

Advisory Information

Field Value
GHSA ID GHSA-q74p-4wrc-q7w6
CVE ID No CVE assigned
Date (index) 2026-11-11
Affected product mcp-server-git: mcp-server-git: Incomplete Fix for GHSA-w766-5x43-whvw in validate_opened_repo() Allows –repository Confinement Bypass via objects/info/alternates and
OWASP MCP Top 10 (2025) MCP02 — Privilege Escalation via Scope Creep
Published / disclosed 2026-11-11
Ecosystem pip
Component mcp-server-git
CVSS score 5.3 MEDIUM CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
CWE CWE-22, CWE-200
Affected versions >= 2026.10.28, < 2026.11.11
Fixed versions 2026.11.11
Fix status Patched
Notes Indexed on 2026-11-16 from the published GitHub repository advisory.

Advisory Breakdown

The fix for GHSA-w766-5x43-whvw in validate_opened_repo() is incomplete. A repository can still point Git at another repository through objects/info/alternates and escape the –repository confinement. Upgrade mcp-server-git to the patched release.

Fix / Remediation

Upgrade to the patched version listed above. Where the advisory says a setting is still required after the upgrade, apply that setting as well. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.

Detection / verification