{"id":"CVE-2026-61459","aliases":["EUVD-2026-42987","GHSA-wmg3-h8mf-wgvr","PYSEC-2026-3685"],"status":"published","title":"MCP Server Kubernetes \u003c 3.9.0 Argument Injection via kubectl Structured Tools","description":"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.","severity":{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.02362,"percentile":0.83996,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-88"],"published":"2026-07-10T18:34:27Z","modified":"2026-11-09T02:47:26Z","exploits":[{"source":"exploitdb","id":"EDB-52638","title":"mcp-server-kubernetes 3.8.x - Argument Injection","type":"remote","platform":"multiple","date":"2026-08-11","url":"https://www.exploit-db.com/exploits/52638"}],"fixes":[{"ecosystem":"npm","package":"mcp-server-kubernetes","fixed_in":["3.9.0"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"mcp-server-kubernetes","fixed_in":["3.9.0"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"mcp-server-kubernetes","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0"}]}]},{"source":"osv","ecosystem":"npm","package":"mcp-server-kubernetes","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.9.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"mcp-server-kubernetes","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.0"}]}],"versions":["0.1.0","0.1.1","0.1.2","0.1.3","0.1.6"]}],"products":[{"vendor":"flux159","product":"mcp-server-kubernetes"},{"vendor":"suyogs","product":"mcp-server-kubernetes"}],"references":[{"url":"https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0","tags":["release-notes","Release Notes","advisory","web"]},{"url":"https://github.com/Flux159/mcp-server-kubernetes/issues/328","tags":["exploit","technical-description","issue-tracking","Issue Tracking","Exploit","Mitigation","Vendor Advisory","report","web"]},{"url":"https://github.com/Flux159/mcp-server-kubernetes/pull/329","tags":["issue-tracking","patch","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a","tags":["patch","Patch","fix","web"]},{"url":"https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-injection-via-kubectl-structured-tools","tags":["third-party-advisory","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61459","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wmg3-h8mf-wgvr","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/61xxx/CVE-2026-61459.json","tags":["advisory"]},{"url":"https://github.com/Flux159/mcp-server-kubernetes","tags":["package"]},{"url":"https://pypi.org/project/mcp-server-kubernetes","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-61459","title":"MCP Server Kubernetes \u003c 3.9.0 Argument Injection via kubectl Structured Tools","description":"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.","status":"published","published":"2026-07-10T18:34:27.969Z","modified":"2026-11-08T14:07:33.371Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical","assessor":"cna"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-88"],"updated_at":"2026-11-08T15:43:33.322657Z"}],"euvd":[{"id":"EUVD-2026-42987","description":"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.","status":"published","published":"2026-07-10T18:34:27Z","modified":"2026-11-08T14:07:33Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"updated_at":"2026-11-08T15:13:07.123106Z"}],"ghsa":[{"id":"GHSA-wmg3-h8mf-wgvr","title":"mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials","description":"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.","status":"published","published":"2026-07-10T21:32:32Z","modified":"2026-10-28T15:08:29Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:41:38.969831Z"}],"nvd":[{"id":"CVE-2026-61459","description":"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.","status":"published","published":"2026-07-10T19:17:27.45Z","modified":"2026-10-25T15:10:00.147Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:12:28.771746Z"}],"osv":[{"id":"CVE-2026-61459","title":"MCP Server Kubernetes \u003c 3.9.0 Argument Injection via kubectl Structured Tools","description":"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.","status":"published","published":"2026-07-10T18:34:27.969Z","modified":"2026-11-09T02:47:26.290241768Z","cvss":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"cwes":["CWE-88"],"updated_at":"2026-11-09T03:16:17.543303Z"},{"id":"GHSA-wmg3-h8mf-wgvr","title":"mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials","description":"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.","status":"published","published":"2026-07-10T21:32:32Z","modified":"2026-10-28T15:15:05.434117744Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T15:46:58.767335Z"},{"id":"PYSEC-2026-3685","title":"mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials","description":"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.","status":"published","published":"2026-08-19T11:56:25.076274Z","modified":"2026-08-19T12:45:06.485001885Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"critical"}],"updated_at":"2026-11-02T15:52:56.847083Z"}]}}
