vulnerableVerifiedAGT-2026-0189
mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
A real bug in otherwise honest software. Check your version against the affected range below.
GHSA-wmg3-h8mf-wgvr · CVE-2026-61459 · PYSEC-2026-3685
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.
Imported from OSV GHSA-wmg3-h8mf-wgvr.
Affected
- PyPI:mcp-server-kubernetes
- < 3.9.0 (fixed in 3.9.0)
Field marks
- Kind
- mcp server
- Reported by
- osv-import
Sources
- osv.dev https://osv.dev/vulnerability/GHSA-wmg3-h8mf-wgvr
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-61459
- github.com https://github.com/Flux159/mcp-server-kubernetes/issues/328
- github.com https://github.com/Flux159/mcp-server-kubernetes/pull/329
- github.com https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a456…
- github.com https://github.com/Flux159/mcp-server-kubernetes
- github.com https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0
- vulncheck.com https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-…
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0189.json.