Vulnerability advisory

CVE-2026-47427

GitHub MCP Server: Nil Pointer Dereference DoS in completion/complete Handler

Published Updated OSV record ↗

Also known as GHSA-w4q6-qw23-4rg7GO-2026-6118

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/github/github-mcp-server ↗
All commits before c5be4b09c2e26e9c6adbc936b5fc661306852ebfc5be4b09c2e26e9c6adbc936b5fc661306852ebf
Not specifiedc88d2ecdd3bb07f7bdd75296e3ee676febf14f58
Also listed as affected (60)
  • v1.0.5
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • v0.33.1
  • v0.33.0
  • v0.32.0
  • v0.31.0
  • v0.30.3
  • v0.30.2
  • v0.30.1
  • v0.30.0
  • v0.29.0
  • v0.28.1
  • v0.28.0
  • v0.27.0
  • v0.26.3
  • v0.26.2
  • v0.26.1
  • v0.26.0
  • v0.25.0
  • v0.24.1
  • v0.24.0
  • v0.22.0
  • v0.23.0
  • v0.21.0
  • v0.20.2
  • v0.20.1
  • v0.20.0
  • v0.19.1
  • v0.19.0
  • v0.18.0
  • v0.17.1
  • v0.17.0
  • v0.16.0
  • v0.15.0
  • v0.13.0
  • v0.14.0
  • v0.12.1
  • v0.12.0
  • v0.11.0
  • v0.10.0
  • v0.9.1
  • v0.9.0
  • v0.8.0
  • v0.7.0
  • v0.6.0
  • v0.5.0
  • v0.4.0
  • v0.3.0
  • v0.2.1
  • v0.2.0
  • v0.1.1-release-validation
  • v0.1.1
  • v0.1.0
  • v0.1.0-rc.3
  • v0.1.0-rc.2
  • v0.1.0-rc.1

Description

GitHub MCP Server is GitHub's official MCP Server. Prior to 1.1.0, the CompletionsHandler function in pkg/github/server.go accesses params.Ref without first checking whether it is nil, so a completion/complete request with a missing or empty ref field triggers a nil pointer dereference and a Go runtime panic; because the crash occurs before any authentication or token validation, any unauthenticated client able to send JSON-RPC messages can crash the server, resulting in a complete denial of service. This issue is fixed in version 1.1.0.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools