Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134817: high-severity vulnerability (CVSS 7.1) in Flux159 mcp-server-kubernetes.
What happened
Original description from the source: mcp-server-kubernetes before 4.2.0 contains an argument injection vulnerability that allows remote MCP clients to inject kubectl flags by supplying dash-prefixed values as positional operands in tools such as exec_in_pod, kubectl_patch, and kubectl_logs. Attackers connected over SSE or Streamable HTTP transport can supply values like --filename to make kubectl read files from the server host, bypassing file-read restrictions.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
Flux159 mcp-server-kubernetes < 4.2.0
| Product | Versions | Fixed in |
|---|---|---|
| Flux159 mcp-server-kubernetes | < 4.2.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/Flux159/mcp-server-kubernetes/pull/390 — CVE Program
- https://github.com/Flux159/mcp-server-kubernetes/commit/588d4949b0233974c3966a7d24d532be11e56d0d — CVE Program
- https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v4.2.0 — CVE Program
- https://github.com/Flux159/mcp-server-kubernetes/blob/v4.1.9/src/tools/exec_in_pod.ts#L105 — CVE Program
- https://www.vulncheck.com/advisories/mcp-server-kubernetes-before-4.2.0-argument-injection-via-flag-shaped-positional-operands — CVE Program
Weaknesses (CWE): CWE-88
Relevant change history
Published
Preliminary advisory published.