← Back to search

CVE-2026-108859

7.5 HIGHpublic exploit available

Published 2026-10-11 · Updated 2026-10-11

AI risk analysis

Summary
The mcp-go library contains a memory exhaustion vulnerability in its HTTP server implementation that allows remote attackers to consume all available memory by sending oversized POST requests. This flaw can lead to service degradation or complete server crashes.
Exploitability
Exploitation is straightforward as attackers need only send large POST requests to any endpoint served by StreamableHTTPServer without authentication, requiring no special preconditions beyond network access.
Blast radius
The vulnerability affects any system using mcp-go 1.2.1 or earlier in a web-facing role, potentially causing widespread service disruption across all applications relying on this library's HTTP server functionality.
Detection
Monitor for high memory usage patterns and potential OOM (Out-of-Memory) kills in processes using mcp-go, particularly when handling POST requests with large payloads.
Prioritized remediation
Upgrade to mcp-go version 1.2.2 or later to remediate the memory exhaustion vulnerability in StreamableHTTPServer.ServeHTTP.
dosmemoryhttpgo

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

mcp-go through 1.2.1 contains a denial of service vulnerability in StreamableHTTPServer.ServeHTTP that allows remote unauthenticated attackers to exhaust memory by sending oversized POST bodies. Attackers can send arbitrarily large or many concurrent POST requests, read fully via io.ReadAll before validation, to degrade or OOM-kill the server process.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CWE-770

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.