HighVulnerability
CVE-2026-50125: MKP unauthenticated log retrieval memory exhaustion via get_resource tool
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-50125
- Published
- Record updated
- 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.
Topics
Related items
- MediumCVE-2026-143823: MLflow denial of service via regex backtracking in skill registration errorsSimilar attack, NVD/CVE Database
- MediumAutonomous AI attack targeted Perplexity to steal cloud credentialsSimilar attack, BleepingComputer
- HighCVE-2026-76813: CKAN MCP Server denial of service through unbounded response decompressionSimilar attack, NVD/CVE Database
- MediumCVE-2026-142225: Bytebase DBHub regular expression denial of service via search_objectsSimilar attack, NVD/CVE Database
- HighCVE-2026-59345: ExtractedTextFormatter denial of service when processing untrusted document textSimilar attack, NVD/CVE Database