mcp-server-kubernetes
Affected
- introduced
0, fixed3.9.0(ecosystem)
Fixed versions
3.9.0
Fix
- Fixed version
3.9.0pip install --upgrade mcp-server-kubernetes==3.9.0
Advisory
Also known as: CVE-2026-61459, GHSA-wmg3-h8mf-wgvr
mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
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.
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0, fixed 3.9.0 (ecosystem)3.9.0
3.9.0pip install --upgrade mcp-server-kubernetes==3.9.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0