CVE-2026-134817
mcp-server-kubernetes before 4.2.0 Argument Injection via Flag-Shaped Positional Operands
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.42% (p28)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-23
- Product
- Flux159 mcp-server-kubernetes
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Description
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.
Fixed in
4.2.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | mcp-server-kubernetes | >=0, <4.2.0 | 4.2.0 |
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/Flux159/mcp-server-kubernetes/pull/390 patch
- https://github.com/Flux159/mcp-server-kubernetes/commit/588d4949b0233974c3966a7d24d532be11e56d0d patch
- https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v4.2.0 release-notes
- https://github.com/Flux159/mcp-server-kubernetes/blob/v4.1.9/src/tools/exec_in_pod.ts#L105 technical-description
- https://www.vulncheck.com/advisories/mcp-server-kubernetes-before-4.2.0-argument-injection-via-flag-shaped-positional-operands third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134817.json advisory
- https://github.com/Flux159/mcp-server-kubernetes package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134817 advisory