Disclosed weakness · no CVE recorded
MCP Git remote-name parsing could expose host Git credentials
Model Context Protocol · mcp-server-git
First documented disclosure · Review checkpoint
Summary
A crafted remote name or URL prefix could bypass credential redaction.
Severity and exploitation evidence
Medium · 5.3/10 · CVSS 3.1. Severity source.
Exploitation not established: Public original reports and static source review establish the weakness or reported demonstrations. Malicious exploitation against users is not established; this review executed no exploit or package.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
A tab shifted the parsed URL field; a URL not at the field’s start skipped the redaction path.
Conditions required
The inspected repository supplies crafted Git metadata and the host has a credential-bearing URL rewrite, or the remote URL itself holds a credential; a client calls git_remote.
Potential impact
Git credentials can enter the model context and session logs.
Affected versions and configurations
2026.11.4 through versions before 2026.11.27.
Fix and mitigation status
2026.11.27 matches complete configured remote names and withholds ambiguous embedded URLs.
Practical next steps
Upgrade to 2026.11.27 and rotate any credentials exposed to unauthorized transcript or log readers.
Operating lesson
Treat parser ambiguity as a reason to withhold credential-bearing output.
Evidence and limits
Maintainer CVSS 3.1 is 5.3. Host-token exposure requires credential-bearing host Git configuration; a generic untrusted repository does not automatically provide that prerequisite. Read-only tool classification does not imply harmless output. The public correction PR, stable monorepo 2.6.0 release and issue-specific tagged production source were reviewed. Package versions are distinct from the monorepo version. No CVE is published in the reviewed maintainer identity fields. Original report prose describing an unpatched test build is superseded only for remediation by current advisory metadata and the release.
Sources
- Maintainer advisory
Primary source ·
- MCP servers 2.6.0 stable release
Primary source ·
- Public correction PR
Primary source ·
- Tagged production correction
Primary source ·