{"id":26100,"date":"2026-09-18T04:32:21","date_gmt":"2026-09-17T20:32:21","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-50125"},"modified":"2026-09-18T04:32:21","modified_gmt":"2026-09-17T20:32:21","slug":"cve-2026-50125","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-50125","title":{"rendered":"CVE-2026-50125 [HIGH] &#8211; MKP is a Model Context Protocol server for Kubernetes. Prior to 0.4.1, cmd\/server\/main.go"},"content":{"rendered":"<p>MKP is a Model Context Protocol server for Kubernetes. Prior to 0.4.1, cmd\/server\/main.go exposes the default HTTP endpoint and pkg\/mcp\/server.go registers the unauthenticated get_resource tool, which accepts attacker-controlled limitBytes and tailLines values for the pods logs subresource. buildPodLogOpts() in pkg\/k8s\/subresource.go parses those values as unbounded int64 parameters, and defaultGetPodLogs() copies the returned Kubernetes log stream through io.Copy into an in-memory bytes.Buffer without an application-side cap. A remote attacker who can reach the default port 8080 MCP endpoint and select a pod with sufficiently large accumulated logs can send one tools\/call request that causes large allocations and additional response copies, while the request-frequency limiter does not constrain per-request volume. This can exhaust process memory, terminate the MKP server, and deny the MCP service; observed testing showed more than one GiB of RSS growth while handling a 128 MiB requested stream. This issue is fixed in version 0.4.1.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MKP is a Model Context Protocol server for Kubernetes. Prior to 0.4.1, cmd\/server\/main.go exposes the default HTTP endpoint and pkg\/mcp\/server.go registers the unauthenticated get_resource tool, which<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-26100","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/26100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}