Skip to content

[GHSA-6hqx-gqrx-c5r2] - mcp-server-git: arbitrary command execution via a repository's own Git configuration (core.fsmonitor) during read-only tools #5511

Closed

Description

@cliffhall

Tracked the public fix for two published mcp-server-git security advisories:

  • GHSA-6hqx-gqrx-c5r2: mcp-server-git: arbitrary command execution via a repository's own Git configuration (core.fsmonitor) during read-only tools
  • GHSA-q74p-4wrc-q7w6: mcp-server-git: Incomplete Fix for GHSA-w766-5x43-whvw in validate_opened_repo() Allows --repository Confinement Bypass via objects/info/alternates and Linked-Worktree common_dir Confusion

Fixed by #5514, shipped in mcp-server-git 2026.11.11 in the v2.4.0 release. The advisories carry the details, the affected versions and the credits.

Activity

  1. added
    bugSomething isn't working
    server-gitReference implementation for the Git MCP server - src/git
    on Nov 11, 2026
  2. added this to the v2.4.0 milestone on Nov 11, 2026
  3. self-assigned this
    on Nov 11, 2026
  4. linked a pull request that will close this issuefix(git): GHSA-6hqx-gqrx-c5r2 #5514on Nov 11, 2026
  5. changed the title [-][GHSA-6hqx-gqrx-c5r2][/-] [+][GHSA-6hqx-gqrx-c5r2] - mcp-server-git: arbitrary command execution via a repository's own Git configuration (core.fsmonitor) during read-only tools[/+] on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingserver-gitReference implementation for the Git MCP server - src/gitv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions