Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify network-accessible /mcp endpoint
-
DeliveryCraft HTTP POST with oversized body
-
ExploitSubmit request to toolInvokeHandler
-
Installio.ReadAll allocates unbounded heap memory
-
C2Host RAM exhausted
-
ExecuteOOM killer terminates mcp-toolbox
-
ImpactMCP service unavailable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The /mcp or /tool/{name}/invoke HTTP endpoint must be reachable by the attacker over the network. No authentication is required (CVSS PR:N confirmed), no special configuration needs to be enabled, and no user interaction is needed - this affects default deployments of mcp-toolbox versions through 1.4.0 exposed on the network. The primary limiting factor is network reachability: deployments behind a reverse proxy that enforces request body size limits (e.g., nginx client_max_body_size, AWS ALB request size limits) or that require upstream authentication before reaching mcp-toolbox are substantially protected. The attack is limited to availability impact only - no data exfiltration or integrity modification is possible through this vector. |
| Impact | The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VA:H scores 6.6 (Medium), accurately reflecting a trivially exploitable, unauthenticated network attack with high availability impact and no confidentiality or integrity consequence. The E:U (Unexploited) supplemental metric and absence of a CISA KEV listing indicate no public exploit or confirmed in-the-wild exploitation at time of analysis. No EPSS data was provided, so exploitation probability cannot be quantified beyond what the CVSS signals suggest. Real-world priority depends heavily on deployment posture: mcp-toolbox instances exposed directly to the internet face meaningful risk, while instances behind an authenticated API gateway or reverse proxy with body-size limits (e.g., nginx client_max_body_size) are largely mitigated at the perimeter. The attack requires no special tooling - a single curl command with a large body suffices - so the low complexity is genuine. The DoS is complete and immediate (OOM kill), not degrading, which raises operational impact. |
| Exploit ScenarioDerived | An attacker with network access to the mcp-toolbox /mcp or /tool/{name}/invoke endpoint sends a single HTTP POST request with a multi-gigabyte body (e.g., via curl --data-binary with a large file or a streaming client). The Go runtime allocates heap pages continuously as io.ReadAll reads the stream, consuming available RAM until the Linux OOM killer terminates the mcp-toolbox process, taking down all MCP tool serving for connected agents. No public exploit code has been identified, but the technique requires no specialized knowledge - standard HTTP clients suffice. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 31, 2026
Unbounded memory consumption in Google mcp-toolbox versions through 1.4.0 allows unauthenticated remote attackers to crash the service via a single oversized HTTP request. The /mcp endpoint's toolInvokeHandler uses Go's io.ReadAll without any body-size guard - no http.MaxBytesReader, no Content-Length pre-check - so a sufficiently large POST body linearly exhausts host RAM until the OS OOM killer terminates the process. No active exploitation is confirmed (CVSS 4.0 E:U), but the attack requires no authentication and trivial complexity, making any internet-exposed deployment an easy target for denial of service.
RemediationAI
Apply the upstream fix from GitHub PR #3216 (https://github.com/googleapis/mcp-toolbox/pull/3216) which introduces http.MaxBytesReader on the request body before io.ReadAll, defaulting to 10,485,760 bytes (10 MB) and configurable via the --http-max-request-bytes flag (e.g., --http-max-request-bytes 2097152 for 2 MB). A released patched version number is not independently confirmed - track the mcp-toolbox releases page for a tagged version incorporating this PR. As an interim compensating control, deploy a reverse proxy such as nginx in front of mcp-toolbox and enforce client_max_body_size to an appropriate limit; note that this adds an infrastructure dependency and does not fix the application layer. Alternatively, restrict network access to the /mcp endpoint to trusted internal clients or authenticated upstream services only, accepting that this may not be viable for public-facing MCP deployments.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Google mcp-toolbox is an open-source Model Context Protocol (MCP) server written in Go, used to expose tools to LLM-based agents over HTTP. The vulnerable component is the toolInvokeHandler function in internal/server/api.go, which processes POST requests to the /mcp and /tool/{name}/invoke endpoints. Go's io.ReadAll reads from an io.Reader until EOF, allocating heap memory as needed with no upper bound. CWE-770 (Allocation of Resources Without Limits or Throttling) is the precise root cause: the absence of http.MaxBytesReader or equivalent Content-Length enforcement before io.ReadAll means the Go runtime will honor arbitrarily large request bodies, bounded only by available physical and virtual memory. The fix in PR #3216 wraps r.Body with http.MaxBytesReader prior to reading, adds a --http-max-request-bytes CLI flag, and defaults the limit to 10,485,760 bytes (10 MB) as documented in docs/en/reference/cli.md.
Know when Mcp Toolbox gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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/E:U
Network-reachable endpoint, no authentication (PR:N), no complexity; only availability is impacted with no scope change.
Primary rating from Vendor (Google).
CVSS VectorVendor: Google
DescriptionCVE.org
An allocation of resources without limits vulnerability in the HTTP handler component of Google mcp-toolbox versions up to and including 1.4.0 allows an unauthenticated attacker to cause a denial of service (DoS). The /mcp endpoint handler reads incoming payloads directly into system memory using an unrestricted buffer loop (io.ReadAll) without applying defensive constraints such as http.MaxBytesReader or pre-read Content-Length enforcement. By submitting a single, massive HTTP request body, an attacker can linearly consume available host memory until the runtime process is terminated by an Out-Of-Memory (OOM) error.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-51373
GHSA-623p-8r6m-hwc6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB