Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-34742

published high CVSS 4.0 · 7.6

Model Context Protocol Go SDK: DNS Rebinding Protection Disabled by Default for Servers Running on Localhost

Published
02 Apr 2026, 18:32:34 UTC
Updated
15 Jul 2026, 01:04:01 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
modelcontextprotocol — go-sdk< 1.4.0 Affected Not stated GitHub_M
Red Hat — devspaces/udi-rhel9Red Hat OpenShift Dev Spaces 3.28 · 1779829736 and later · Other versions: affected Unaffected Not stated redhat-SADP
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 Unaffected Not required redhat-SADP
Show 3 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat — openshift-serverless-1/kn-client-kn-rhel9OpenShift Serverless Affected Not stated redhat-SADP
Red Hat — openshift-serverless-1/kn-plugin-func-func-util-rhel9OpenShift Serverless Affected Not stated redhat-SADP
Red Hat — rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI (RHOAI) Unaffected Not required redhat-SADP

Description

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.

en · GitHub_M · cna

en · redhat-SADP · adp

A flaw was found in the Model Context Protocol (MCP) Go SDK. When an HTTP-based MCP server is run on localhost without authentication, a malicious website can exploit a DNS rebinding vulnerability. This allows the attacker to bypass same-origin policy restrictions and send requests to the local MCP server. Consequently, an attacker could invoke tools or access resources exposed by the MCP server on behalf of the user.

Vendor advisories explicitly linked to this CVE.

0

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.6 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
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

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 8.0 high redhat-SADP · adp CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
modelcontextprotocol go-sdk < 1.4.0 (affected) GitHub_M · cna
Red Hat Red Hat OpenShift Dev Spaces 3.28 1779829736 and later (unaffected · rpm)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 Migration Toolkit for Virtualization Default: affected redhat-SADP · adp
Red Hat OpenShift Lightspeed Default: unaffected 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: unaffected redhat-SADP · adp

Weaknesses

2
  • CWE-1188 CWE-1188: Insecure Default Initialization of Resource (GitHub_M · cna)
  • CWE-1188 Initialization of a Resource with an Insecure Default (redhat-SADP · adp)

References

8

Provider assertions

3

GitHub_M · cna

Model Context Protocol Go SDK: DNS Rebinding Protection Disabled by Default for Servers Running on Localhost

redhat-SADP · adp

github.com/modelcontextprotocol/go-sdk: Model Context Protocol (MCP) Go SDK: DNS rebinding vulnerability allows unauthorized access

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
089124fd8384f58770dc0a84c7ee881de9d4a0ad0bc57343959560f2e185f8e9
Ingested
23 Sep 2026, 09:11:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected