Disclosed weakness · no CVE recorded

git: harden_repo ignores core.worktree, so repository-defined filters run

Model Context Protocol maintainers · mcp-server-git

First documented disclosure · Review checkpoint

Summary

The maintainer says harden_repo overlooks core.worktree and repository-defined filters can run.

Severity and exploitation evidence

Critical · numeric CVSS score not recorded. Severity source.

Exploitation not established: The public source establishes a reported weakness or controlled test, not malicious exploitation or identified victims. No product, model or proof of concept was executed in this review.

Exploitation evidence source

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 maintainer says harden_repo overlooks core.worktree and repository-defined filters can run.

Conditions required

The disclosed trigger involves repository-controlled core.worktree and filter configuration. Exact delivery, tool sequence, platform and privilege requirements are not public.

Potential impact

Repository-selected programs can run according to the maintainer summary; the public record does not establish further impact or a tested deployment.

Affected versions and configurations

< 2026.12.5 for mcp-server-git in the maintainer advisory.

Fix and mitigation status

2026.12.5 for mcp-server-git in the advisory and December 5 v2.7.0 release. This is an issue-specific patch claim.

Practical next steps

Update this package to the advisory’s patched version and retain the relevant repository, filesystem or network boundary controls.

Operating lesson

Validate the effective resource and side effects at the operation that uses it.

Evidence and limits

GHSA-pjvq-3c9r-6h2q; no published CVE alias in the reviewed inventory. The complete public advisory was reviewed, but it exposes only a summary, CWE, severity and version bounds; technical details, reproducer and proposed fix were supplied in a comment unavailable in the public record. Unpublished prerequisites and mechanisms remain unknown. Severity is attributed to the maintainer advisory; it does not establish exploitation. The original disclosure and release are both December 5; no earlier private report date is used.

Sources