cve.bz

CVE-2026-34742 lfprojects mcp go sdk

7.6 highEPSS 0.5%Fix available

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

On this page
The Go MCP SDK used Go's standard encoding/json. Prior to version 1.4.0, the Model Context Protocol (MCP) Go SDK does not enable DNS rebinding protection by default for HTTP-based servers. When an HTTP-based MCP server is run on localhost without authentication with StreamableHTTPHandler or SSEHandler, a malicious website could exploit DNS rebinding to bypass same-origin policy restrictions and send requests to the local MCP server. This could allow an attacker to invoke tools or access resources exposed by the MCP server on behalf of the user in those limited circumstances. This issue has been patched in version 1.4.0.

Severity

CVSS 4.0

7.6 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd 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: no · Technical impact: total, assessed 2026-04-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1188 Initialization of a Resource with an Insecure Default
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-34742 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-34742?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-34742?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-34742 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.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xw59-hvm2-8pj6Gogithub.com/modelcontextprotocol/go-sdk<1.4.01.4.0
GO-2026-5771Gogithub.com/modelcontextprotocol/go-sdk<1.4.01.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
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 mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat OpenShift Dev Spaces 3.28devspaces/udi-rhel9:1779829736Fixed 2026-05-28RHSA-2026:21772
Migration Toolkit for Virtualizationmigration-toolkit-virtualization/mtv-cli-download-rhel9Will not fix
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-rhel9Not affected
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-mod-arch-gen-ai-rhel9Not affected

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-34742.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

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

References

Check your stackJSON