Skip to main content

mcp-toolbox EUVDEUVD-2026-51373

| CVE-2026-14539 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-31 Google GHSA-623p-8r6m-hwc6
6.6
CVSS 4.0 · Vendor: Google
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify network-accessible /mcp endpoint
  2. Delivery
    Craft HTTP POST with oversized body
  3. Exploit
    Submit request to toolInvokeHandler
  4. Install
    io.ReadAll allocates unbounded heap memory
  5. C2
    Host RAM exhausted
  6. Execute
    OOM killer terminates mcp-toolbox
  7. Impact
    MCP 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mcp-toolbox 0.0.0 ≤1.4.0

Affected Packages

euvd mcp_toolbox no fix

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

Vendor (Google) PRIMARY 6.6 MEDIUM
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
vuln.today AI 7.5 HIGH

Network-reachable endpoint, no authentication (PR:N), no complexity; only availability is impacted with no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Google).

CVSS VectorVendor: Google

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
newer Google AI/MCP tooling, limited current enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +33
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy