CVE-2026-27896: Go MCP SDK - Authentication Bypass
- Cve: CVE-2026-27896
- Name: Go MCP SDK - Authentication Bypass
- Description: The Go MCP SDK used Go's standard encoding/json.Unmarshal for JSON-RPC and MCP protocol message parsing in versions prior to 1.3.1. Go's standard library performs case-insensitive matching of JSON keys to struct field tags — a field tagged json:"method" would also match "Method", "METHOD", etc. This violated the JSON-RPC 2.0 specification, which defines exact field names. A malicious MCP peer may have been able to send protocol messages with non-standard field casing that the SDK would silently accept. This had the potential for bypassing intermediary inspection and coss-implementation inconsistency. Go's standard JSON unmarshaling was replaced with a case-sensitive decoder in commit 7b8d81c. Users are advised to update to v1.3.1 to resolve this issue.
- Impact: Malicious peers can bypass protocol inspection and cause cross-implementation inconsistencies, potentially leading to security bypass.
- Remediation: Update to version 1.3.1 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00299
- Epss percentile: 0.22916
- Assignee: [email protected]
- Published at: 2026-02-26T01:16:25Z
- Age in days: 271
- Modified at: 2026-07-15T02:19:12Z
- Patch available: yes
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-27896
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-178 | Improper Handling of Case Sensitivity |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lfprojects:mcp_go_sdk | < 1.3.1 | no | nvd | /v1/products/lfprojects/mcp_go_sdk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| modelcontextprotocol/go-sdk | commit, package, security_advisory | yes | /v1/repositories/modelcontextprotocol/go-sdk |
Index
- Repositories: 9
- Repositories high signal: 3
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts