{"id":"EUVD-2026-82412","enisaUuid":"6b24b74f-abfe-31dc-b543-b0e50590d511","description":"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.","datePublished":"Sep 17, 2026, 7:52:37 PM","dateUpdated":"Sep 24, 2026, 8:41:39 PM","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/StacklokLabs/mkp/security/advisories/GHSA-qw5r-ppcg-f8rj\nhttps://github.com/StacklokLabs/mkp/commit/37bf6bac862aa3b1c71b8aa1b8364eae7818962d\n","aliases":"CVE-2026-50125\nGHSA-qw5r-ppcg-f8rj\n","assigner":"GitHub_M","epss":0.49,"enisaIdProduct":[{"id":"fe3009e2-6be0-381f-99b6-63b9c6a9d5ce","product":{"name":"mkp","vendor":{"name":"StacklokLabs"}},"product_version":"\u003c 0.4.1"}],"enisaIdVendor":[{"id":"419f5af2-712d-3105-92cd-b6fb0f88f8f4","vendor":{"name":"StacklokLabs"}}],"enisaIdVulnerability":[{"id":"8f849ca8-3396-3ae6-8f07-360770dd8c05","vulnerability":{"id":"GHSA-qw5r-ppcg-f8rj","description":"MKP: Unbounded Pod Log Read via Attacker-Controlled `limitBytes`/`tailLines` Causes Memory Exhaustion","datePublished":"Jul 14, 2026, 6:09:48 PM","dateUpdated":"Jul 14, 2026, 6:09:48 PM","baseScore":0.0,"references":"https://github.com/StacklokLabs/mkp/security/advisories/GHSA-qw5r-ppcg-f8rj\nhttps://github.com/StacklokLabs/mkp\n","enisa_id":"EUVD-2026-82412\n","aliases":"CVE-2026-50125\nGHSA-qw5r-ppcg-f8rj\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:52:09 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"f3c5e1e2-286f-3ce8-b486-6dc47032d402","vulnerability":{"id":"CVE-2026-50125","description":"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.","datePublished":"Sep 17, 2026, 7:52:37 PM","dateUpdated":"Sep 24, 2026, 8:41:39 PM","status":"PUBLISHED","baseScore":7.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":"https://github.com/StacklokLabs/mkp/security/advisories/GHSA-qw5r-ppcg-f8rj\nhttps://github.com/StacklokLabs/mkp/commit/37bf6bac862aa3b1c71b8aa1b8364eae7818962d\n","enisa_id":"EUVD-2026-82412\n","assigner":"GitHub_M","epss":0.49,"dataProcessed":"Nov 17, 2026, 7:20:47 AM","vulnerabilityProduct":[{"id":"772a019e-a3a0-3116-9c22-ec967b71014c","product":{"name":"mkp","vendor":{"name":"StacklokLabs"}},"product_version":"\u003c 0.4.1"}],"vulnerabilityVendor":[{"id":"64147825-6579-3815-a582-d37c063b76d8","vendor":{"name":"StacklokLabs"}}]}}],"enisaIdAdvisory":[]}