CVE-2026-27896
published high CVSS 4.0 · 7.0MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| modelcontextprotocol | — | go-sdk< 1.3.1 | Affected | Not stated | GitHub_M |
| Red Hat | — | migration-toolkit-virtualization/mtv-cli-download-rhel9Migration Toolkit for Virtualization | Affected | Not stated | redhat-SADP |
| Red Hat | — | mtv-candidate/mtv-api-rhel9Migration Toolkit for Virtualization | Affected | Not stated | redhat-SADP |
| Red Hat | — | mtv-candidate/mtv-cli-download-rhel9Migration Toolkit for Virtualization | Affected | Not stated | redhat-SADP |
| Red Hat | — | mtv-candidate/mtv-controller-rhel9Migration Toolkit for Virtualization | Affected | Not stated | redhat-SADP |
| Red Hat | — | mtv-candidate/mtv-operator-bundleMigration Toolkit for Virtualization | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-lightspeed/openshift-mcp-server-rhel9OpenShift Lightspeed | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift-serverless-1/kn-client-kn-rhel9OpenShift Serverless | Affected | Not stated | redhat-SADP |
Show 4 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift-serverless-1/kn-plugin-func-func-util-rhel9OpenShift Serverless | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
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.
A flaw was found in the Go MCP SDK. This issue occurs due to an improper handling of case sensitivity during JSON-RPC message parsing, specifically in the matching of JSON keys to struct field tags. This behavior violates the JSON-RPC 2.0 specification, which explicitly requires case-sensitive field name matching. A malicious MCP peer able to send protocol messages with non-standard field casing can potentially bypass intermediary inspection, allowing attackers to smuggle payloads past upstream filters and cause cross-implementation inconsistency.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| modelcontextprotocol | go-sdk | < 1.3.1 (affected) | GitHub_M · cna |
| Red Hat | Migration Toolkit for Virtualization | Default: affected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Virtualization | Default: affected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Virtualization | Default: affected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Virtualization | Default: affected | redhat-SADP · adp |
| Red Hat | Migration Toolkit for Virtualization | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Lightspeed | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: affected | redhat-SADP · adp |
| Red Hat | OpenShift Serverless | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
3- CWE-178 CWE-178: Improper Handling of Case Sensitivity
- CWE-436 CWE-436: Interpretation Conflict
- CWE-178 Improper Handling of Case Sensitivity
References
5- https://access.redhat.com/security/cve/CVE-2026-27896
- RHBZ#2442903 https://bugzilla.redhat.com/show_bug.cgi?id=2442903
- https://github.com/modelcontextprotocol/go-sdk/commit/7b8d81c264074404abdf5aa16e2cf0c2d9c64cc0
- https://github.com/modelcontextprotocol/go-sdk/security/advisories/GHSA-wvj2-96wp-fq3f
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27896.json
Provider assertions
3GitHub_M · cna
MCP Go SDK Vulnerable to Improper Handling of Case Sensitivity
redhat-SADP · adp
modelcontextprotocol/go-sdk: improper handling of case sensitivity
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 838425df04759939bf174308f33066fde1e33cffa6eba11470bd51ffd333ce60
- Ingested
- 23 Sep 2026, 09:07:57 UTC
- Source record
- Official CVE record