Skip to content
HighVulnerability

CVE-2026-50125: MKP unauthenticated log retrieval memory exhaustion via get_resource tool

Identifier
CVE-2026-50125
Published
Record updated
View JSON
Affected
  • github.com/StacklokLabs/mkp < 0.4.1
Fixed in
0.4.1
  • released May 28, 2026, 112 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

MKP, a Model Context Protocol server for Kubernetes, prior to 0.4.1 exposes an unauthenticated get_resource tool on its default HTTP endpoint (port 8080). Attacker-controlled limitBytes and tailLines values are parsed as unbounded int64 and the pod log stream is copied into memory with no application-side cap. A remote attacker can send one tools/call request against a pod with large logs to exhaust process memory, crash the MKP server and deny the MCP service; testing showed over 1 GiB of RSS growth while handling a 128 MiB stream.

Mitigation

Fixed in version 0.4.1.