Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-50125
Published:July 14, 2026
Updated:August 27, 2026
The MKP (Model Context Protocol for Kubernetes) server exposes a "get_resource" MCP tool that proxies Kubernetes pod log requests. User-supplied "limitBytes" and "tailLines" parameters are parsed as unbounded "int64" values and forwarded directly to the Kubernetes API. The server then reads the entire returned log stream into an in-memory "bytes.Buffer" using "io.Copy" without any application-side size cap. A remote unauthenticated attacker can exploit this to exhaust the MKP server's memory by sending a single crafted "tools/call" request, leading to process termination (OOM kill) and denial of service. Dynamic reproduction confirmed the MKP process RSS grew from 25.8 MB to 1,179.3 MB (+1,153.4 MB) while handling one request with "limitBytes=134217728".
Affected Packages
github.com/StacklokLabs/mkp (GO):
Affected version(s) >=v0.0.1 <v0.4.1
Fix Suggestion:
Update to version v0.4.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
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
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption