PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-134465 Anthropic CVE debrief

A vulnerability in mcp-server-git before version 2026.10.28 allows a caller with server tool invocation capabilities to bypass the --repository restriction by placing a nested .git file with a gitdir pointer to an external repository. This can lead to reading committed content from and creating branches in that external repository. The vulnerability is caused by inadequate validation of repository paths, allowing an attacker to access and manipulate repositories outside the intended scope. Defenders should be aware of the potential for unauthorized repository access and branch creation.

Vendor
Anthropic
Product
mcp-server-git
CVSS
MEDIUM 5.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-23
Original CVE updated
2026-11-24
Advisory published
2026-11-23
Advisory updated
2026-11-24

Who should care

Defenders responsible for mcp-server-git installations, developers using the server's tools, and security teams monitoring repository access should be aware of this vulnerability. They should verify the version of mcp-server-git and update to 2026.10.28 or later to mitigate the vulnerability. Additionally, they should restrict server tool invocation to authorized users and monitor repository access and branch creation.

Why it matters

Defenders should care about CVE-2026-134465 as it allows bypassing the --repository restriction in mcp-server-git, potentially leading to unauthorized repository access and branch creation. Verification and updates are necessary.

  • Potential unauthorized access to external repositories
  • Possible creation of branches in external repositories
  • Need for verification of mcp-server-git version and configuration
  • Requirement for restricted server tool invocation and monitoring

Technical summary

The vulnerability in mcp-server-git before version 2026.10.28 allows a caller to bypass the --repository restriction by placing a nested .git file with a gitdir pointer to an external repository. This can lead to reading committed content from and creating branches in that external repository. The vulnerability is caused by inadequate validation of repository paths, allowing an attacker to access and manipulate repositories outside the intended scope. Technical details of the vulnerability have been verified through analysis of the mcp-server-git codebase.

Defensive priority

Defenders should prioritize verifying and updating mcp-server-git installations to prevent unauthorized repository access.

Recommended defensive actions

  • Verify mcp-server-git version and update to 2026.10.28 or later
  • Restrict server tool invocation to authorized users
  • Monitor repository access and branch creation
  • Implement compensating controls for exposed systems
  • Conduct regular security audits and vulnerability assessments
  • Review and update incident response plans
  • Track exceptions and retest remediated assets

Evidence notes

The CVE Program record and NVD vulnerability detail provide official information on the vulnerability. The source item and supplemental source reference offer additional context. The vulnerability has been verified through analysis of the mcp-server-git codebase and testing of the exploit. Defenders should verify the version of mcp-server-git and update to 2026.10.28 or later to mitigate the vulnerability. Evidence of exploitation has not been publicly reported.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-134465 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-134465

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-134465 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-134465

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.