{"id":"CVE-2026-61459","aliases":["GHSA-wmg3-h8mf-wgvr","PYSEC-2026-3685"],"url":"https://o3.security/vulnerability/CVE-2026-61459","summary":"MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools","details":"MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectl_get, kubectl_describe, kubectl_delete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes. Attackers can inject the --server flag to redirect kubectl commands to an attacker-controlled API server, causing the operator's bearer token to be transmitted externally and enabling full cluster compromise.","published":"2026-07-10T18:34:27.969Z","modified":"2026-08-19T12:55:51.779516464Z","cvss":null,"epss":{"score":0.02105,"percentile":0.8007,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"mcp-server-kubernetes","fixedVersion":"3.9.0"}],"fix":{"url":"https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a","label":"Flux159/mcp-server-kubernetes@d7890f5"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61459.json"},{"type":"ADVISORY","url":"https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61459"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-injection-via-kubectl-structured-tools"},{"type":"REPORT","url":"https://github.com/Flux159/mcp-server-kubernetes/pull/329"},{"type":"FIX","url":"https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a"},{"type":"PACKAGE","url":"https://github.com/Flux159/mcp-server-kubernetes"},{"type":"EVIDENCE","url":"https://github.com/Flux159/mcp-server-kubernetes/issues/328"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-19T12:55:51.779516464Z"}}