@cyanheads/git-mcp-server@2.0.14 vulnerabilities

An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management,

  • latest version

    2.2.0

  • latest non vulnerable version

  • first published

    3 months ago

  • latest version published

    9 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @cyanheads/git-mcp-server package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Arbitrary Command Injection

    @cyanheads/git-mcp-server is an An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management,

    Affected versions of this package are vulnerable to Arbitrary Command Injection via the child_process.exec function. An attacker can execute arbitrary system commands by supplying specially crafted input parameters that are incorporated into shell command strings without proper sanitization.

    How to fix Arbitrary Command Injection?

    Upgrade @cyanheads/git-mcp-server to version 2.1.5 or higher.

    <2.1.5