Disclosed weakness · no CVE recorded
MCP Git trusted LFS filters could run repository-defined programs
Model Context Protocol · mcp-server-git
First documented disclosure · Review checkpoint
Summary
A read-only Git status operation could execute a program named in repository configuration.
Severity and exploitation evidence
High · 7.8/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
The server trusted globally installed Git LFS, which then interpreted repository-local extension and transfer-agent commands.
Conditions required
The attacker controls .git/config in an archive, shared folder or copied workspace; Git LFS is installed globally or system-wide; a client invokes an affected tool. A plain clone alone is insufficient.
Potential impact
Code execution with the MCP server account’s authority.
Affected versions and configurations
Before 2026.11.27; report tested 2026.11.18.
Fix and mitigation status
2026.11.27 clears repository-local LFS execution keys and disables LFS smudge downloads.
Practical next steps
Upgrade to 2026.11.27, avoid untrusted .git metadata and run the server with minimal host privileges.
Operating lesson
A trusted helper can reintroduce configuration authority that its caller removed.
Evidence and limits
Maintainer CVSS 3.1 is 7.8. The researcher tested macOS, not Windows/Linux or the actual Docker image; the Docker LFS condition is documented source evidence. Merely setting GIT_LFS_SKIP_SMUDGE does not prevent clean-filter extensions; the tagged correction includes both controls. 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 ·