cve.bz

CVE-2026-27896 lfprojects mcp go sdk: Improper Handling of Case Sensitivity

7.0 highEPSS 0.3%Fix available

High (7.0) in lfprojects mcp go sdk. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/modelcontextprotocol/go-sdk 1.3.1.

On this page
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.

Severity

CVSS 4.0

7.0 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-02-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-178 Improper Handling of Case Sensitivity
CWE-436 Interpretation Conflict
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-27896 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-27896?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-27896?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-27896 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
lfprojects:mcp_go_sdkbefore 1.3.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wvj2-96wp-fq3fGogithub.com/modelcontextprotocol/go-sdk<1.3.11.3.1
GO-2026-4569Gogithub.com/modelcontextprotocol/go-sdk<1.3.11.3.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSELeap 15.6govulncheck-vulndb0.0.20260317T205859-150000.1.152.1SUSE-SU-2026:1042-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue is only exploitable in MCP Go SDK backends deployed behind an intermediary security control, like a WAF, inspection proxy or strict firewall that enforces the JSON-RPC 2.0 specification. This vulnerability allows an attacker to bypass the upstream filter and deliver a message to the backend. However, the attacker is still constrained by the normal business logic of the application and cannot cause memory access, arbitrary command execution or grant database administrative rights. Due to these reasons, this flaw has been rated with an important severity.

Red Hat's mitigation

To mitigate this flaw, strictly enforce JSON-RPC case sensitivity before payload processing or harden upstream WAF and proxy rules to explicitly block improperly cased requests at the network edge.

ProductPackageStateAdvisory
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-cli-download-rhel9Affected
Migration Toolkit for Virtualizationmtv-candidate/mtv-api-rhel9Will not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-cli-download-rhel9Will not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-controller-rhel9Will not fix
Migration Toolkit for Virtualizationmtv-candidate/mtv-operator-bundleWill not fix
OpenShift Lightspeedopenshift-lightspeed/openshift-mcp-server-rhel9Affected
OpenShift Serverlessopenshift-serverless-1/kn-client-kn-rhel9Affected
OpenShift Serverlessopenshift-serverless-1/kn-plugin-func-func-util-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-rhel9Will not fix
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-gen-ai-rhel9Will not fix
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-model-registry-rhel9Will not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-27896.

Attack patterns (CAPEC)

  • CAPEC-34 HTTP Response Splitting Likelihood: Medium · Severity: High
  • CAPEC-105 HTTP Request Splitting Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON