---
title: "CVE-2026-134817: mcp-server-kubernetes - Command Injection"
description: "mcp-server-kubernetes < 4.2.0 contains an argument injection vulnerability caused by accepting dash-prefixed values as positional operands in kubectl-related tools, letting remote MCP clients bypass file-read restrictions, exploit requires SSE or Streamable HTTP transport connection."
url: https://panop.io/threat-heartbeat/CVE-2026-134817/
---

# CVE-2026-134817 mcp-server-kubernetes - Command Injection

mcp-server-kubernetes < 4.2.0 contains an argument injection vulnerability caused by accepting dash-prefixed values as positional operands in kubectl-related tools, letting remote MCP clients bypass file-read restrictions, exploit requires SSE or Streamable HTTP transport connection.

CVSS base score 7.1 /10

High

CISA KEV

Not listed

Public exploit

None known

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-134817)

## Details

Type

Command Injection

Impact

File System Read, Information Disclosure

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Published

22 November 2026

Updated

23 November 2026

Weakness

[CWE-88](https://cwe.mitre.org/data/definitions/88.html)

## Vendor fix

Update to version 4.2.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-134817](https://nvd.nist.gov/vuln/detail/CVE-2026-134817)
- [https://github.com/Flux159/mcp-server-kubernetes/blob/v4.1.9/src/tools/exec\_in\_pod.ts#L105](https://github.com/Flux159/mcp-server-kubernetes/blob/v4.1.9/src/tools/exec_in_pod.ts#L105)
- [https://github.com/Flux159/mcp-server-kubernetes/commit/588d4949b0233974c3966a7d24d532be11e56d0d](https://github.com/Flux159/mcp-server-kubernetes/commit/588d4949b0233974c3966a7d24d532be11e56d0d)
- [https://github.com/Flux159/mcp-server-kubernetes/pull/390](https://github.com/Flux159/mcp-server-kubernetes/pull/390)
- [https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v4.2.0](https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v4.2.0)
- [https://www.vulncheck.com/advisories/mcp-server-kubernetes-before-4.2.0-argument-injection-via-flag-shaped-positional-operands](https://www.vulncheck.com/advisories/mcp-server-kubernetes-before-4.2.0-argument-injection-via-flag-shaped-positional-operands)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
