GitHub github-mcp-server
GitHub MCP Server: Nil Pointer Dereference DoS in completion/complete Handler
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-476
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
github github-mcp-server
- < 1.1.0
Fixed in 1.1.0
Mitigation
Upgrade github-mcp-server to 1.1.0 or later.
References
- Vendor advisory github.com/github/github-mcp-server/security/a…
- Patch github.com/github/github-mcp-server/pull/2502
- Patch github.com/github/github-mcp-server/commit/c88…
1 more
- Release notes github.com/github/github-mcp-server/releases/t…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.