CVE-2026-134817 mcp-server-kubernetes before 4.2.0 Argument Injection via Flag-Shaped Positional Operands
HighCVSS 7.1
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Kubernetes
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm mcp-server-kubernetes | < 4.2.0 | 4.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mcp-server-kubernetes | < 4.2.0 | 4.2.0 |
References
- github.com issue-tracking patch
- github.com patch
- mcp-server-kubernetes v4.2.0 Release Notes release-notes
- github.com technical-description
- VulnCheck Advisory: mcp-server-kubernetes before 4.2.0 Argument Injection via Flag-Shaped Positional Operands third-party-advisory
- ENISA EUVD EUVD-2026-132846 third-party-advisory
- nvd.nist.gov