Summary
CVE-2026-108859 is a denial-of-service vulnerability (CWE-770, Allocation of Resources Without Limits or Throttling) in mcp-go (github.com/mark3labs/mcp-go), a Go implementation of the Model Context Protocol. Remote, unauthenticated attackers can exhaust server memory by sending oversized POST bodies to the Streamable HTTP server. The CVE record rates it High: CVSS v4.0 8.7 (CVSS v3.1 7.5).
Technical details
- Root cause:
StreamableHTTPServer.ServeHTTPreads the entire POST request body withio.ReadAllbefore validating it, with no size limit. - Trigger conditions: The application exposes the mcp-go Streamable HTTP server over the network and accepts POST requests. No authentication or user interaction is required.
- Attack vector: Network. The attacker sends very large POST bodies to the endpoint.
- Impact: Memory exhaustion that degrades the service or crashes the server process (availability impact only). The CVE record lists no confidentiality or integrity impact.
Affected software
- mcp-go (github.com/mark3labs/mcp-go) versions through 1.2.1 (all versions up to and including 1.2.1)
Severity
- CVSS v4.0: 8.7 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: The CVE record does not name a fixed version. Check the mark3labs/mcp-go repository for a release newer than 1.2.1 that bounds request body size, and upgrade to it once confirmed.
- If no patch is available: Place the Streamable HTTP endpoint behind a reverse proxy or API gateway that enforces a maximum request body size (for example, rejecting oversized POSTs). Restrict network access to trusted clients where possible, and apply container or process memory limits and restart policies to contain the impact.

