CVE-2025-64443: Github.com/docker/mcp gateway Docker MCP Plugin And Docker Vulnerability

HIGH
Advisory Identifier: GHSA-46gc-mwh4-cc5r
CWE-749
Published
Advisory Summary

CVE-2025-64443 is a HIGH docker mcp plugin and docker vulnerability (CWE-749: Exposed Dangerous Method or Function) affecting Github.com/docker/mcp gateway libraries in the Go ecosystem. The issue involves docker mcp plugin and docker mcp gateway have dns rebinding vulnerability when running in sse or streaming mode. Remediation is available by upgrading affected packages to version 0.28.0.

CVE-2025-64443 at a Glance

CVE Identifier CVE-2025-64443
GHSA Identifier GHSA-46gc-mwh4-cc5r
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-749: Exposed Dangerous Method or Function
Affected Product Github.com/docker/mcp gateway
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-64443

To remediate this vulnerability, upgrade all affected Github.com/docker/mcp gateway dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/docker/mcp-gateway fixed: 0.28.0
Upgrade github.com/docker/mcp-gateway to 0.28.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/docker/mcp-gateway

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-64443, inspect your project dependencies for Github.com/docker/mcp gateway:

inspect dependencies for github.com/docker/mcp-gateway

Analyze the terminal output to locate any version of Github.com/docker/mcp gateway in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.28.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-749: Exposed Dangerous Method or Function, where the product provides an applications programming interface (api) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted. In Github.com/docker/mcp gateway, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact When ran in sse or streaming mode (--transport), the Docker MCP Gateway is vulnerable to a DNS rebinding attack. Vulnerability allows for Browser-Based exploitation of any MCP servers that are executing within the Docker MCP Gateway. Any tools or other features exposed by MCP servers can be manipulated by an attacker who is able to get a victim to visit a malicious website, or if a victim is served a malicious advertisement. The MCP Gateway is not prone to this attack when started in its default stdio mode, which does not listen on any network ports. ### Patches Patch available in version v0.28.0 ### Workarounds Do not start the MCP gateway in sse or streaming mode (use default stdio)

CVE-2025-64443 Affected Github.com/docker/mcp gateway Versions

1 component(s)
Fixed Versions:
0.28.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/docker/mcp-gateway
Go
< 0.28.0
0.28.0

References

Frequently Asked Questions

What is CVE-2025-64443?
CVE-2025-64443 is a security vulnerability in Github.com/docker/mcp gateway involving Docker MCP Plugin and Docker MCP Gateway have DNS Rebinding vulnerability when running in sse or streaming mode under CWE-749: Exposed Dangerous Method or Function.
Which Github.com/docker/mcp gateway versions are affected?
Affected versions include releases prior to 0.28.0 across affected packages: github.com/docker/mcp-gateway.
What version fixes CVE-2025-64443?
Upgrading to 0.28.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/docker/mcp-gateway affected?
Yes, github.com/docker/mcp-gateway is affected in releases prior to 0.28.0. Upgrade your dependency to 0.28.0 or later.
What CWE is associated with CVE-2025-64443?
CVE-2025-64443 is classified under CWE-749: Exposed Dangerous Method or Function (The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted.).
How can I check Go dependencies for CVE-2025-64443?
Run the dependency tree command: 'inspect dependencies for github.com/docker/mcp-gateway'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-46gc-mwh4-cc5r",
  "modified" : "2025-12-03T18:56:54Z",
  "published" : "2025-12-03T16:07:31Z",
  "aliases" : [ "CVE-2025-64443" ],
  "summary" : "Docker MCP Plugin and Docker MCP Gateway have DNS Rebinding vulnerability when running in sse or streaming mode",
  "details" : "### Impact\nWhen ran in sse or streaming mode (--transport), the Docker MCP Gateway is vulnerable to a DNS rebinding attack. \n\nVulnerability allows for Browser-Based exploitation of any MCP servers that are executing within the Docker MCP Gateway. Any tools or other features exposed by MCP servers can be manipulated by an attacker who is able to get a victim to visit a malicious website, or if a victim is served a malicious advertisement. \n\nThe MCP Gateway is not prone to this attack when started in its default stdio mode, which does not listen on any network ports.\n\n\n### Patches\nPatch available in version v0.28.0\n\n### Workarounds\nDo not start the MCP gateway in sse or streaming mode (use default stdio)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:N/SC:H/SI:H/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/docker/mcp-gateway"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.28.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.27.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/docker/mcp-gateway/security/advisories/GHSA-46gc-mwh4-cc5r"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64443"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/docker/mcp-gateway/pull/190"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/docker/mcp-gateway/commit/6b076b2479d8d1345c50c112119c62978d46858e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/docker/mcp-gateway/commit/fe073985c8eb6e0c9317d2f198c07686f70ea06d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/docker/mcp-gateway"
  }, {
    "type" : "WEB",
    "url" : "https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#security-warning"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-749" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-12-03T16:07:31Z",
    "nvd_published_at" : "2025-12-03T18:15:46Z"
  }
}