Kubeshark MCPの引数注入の脆弱性、クラスタ乗っ取りのおそれ
Summary
Kubesharkの53.1.0から53.4.0未満では、MCPツールstart_kubesharkの引数処理に脆弱性があり、攻撃者がHelmの値を書き換えて特権付きのイメージを差し替えるおそれがあります。ノードやクラスタ管理者の権限を奪われる可能性があり、影響を受ける版では注意が必要です。修正版は53.4.0です。公表は2026年11月16日で、悪用の情報は確認されていません。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Kubesharkの53.1.0から53.4.0未満では、MCPツールstart_kubesharkの引数処理に脆弱性があり、攻撃者がHelmの値を書き換えて特権付きのイメージを差し替えるおそれがあります。ノードやクラスタ管理者の権限を奪われる可能性があり、影響を受ける版では注意が必要です。修正版は53.4.0です。公表は2026年11月16日で、悪用の情報は確認されていません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| kubesharkkubeshark | — | Not listed |
| gogithub.com/kubeshark/kubeshark |
≥ 0.0.2-0.20260206182249-0bbbb473ea3f, < 0.0.2-0.20260812200004-a76a1920dc75→ 0.0.2-0.20260812200004-a76a1920dc75 |
0.0.2-0.20260812200004-a76a1920dc75 |
Original description The description as published by the source.
Kubeshark is an eBPF-powered network observability tool for Kubernetes. From 53.1.0 until 53.4.0, the start_kubeshark MCP tool in cmd/mcpRunner.go uses callStartKubeshark to append caller-controlled pod_regex as a bare positional argument to kubeshark tap without a -- end-of-options separator, allowing a value beginning with --set to be parsed as a Helm value override. An attacker who influences tool arguments against kubeshark mcp --allow-destructive can redirect the privileged worker, Hub, and front images through tap.docker.registry and tap.docker.tag to an attacker-controlled registry. Because the deployed worker DaemonSet runs privileged with host networking and host filesystem access, a malicious image can obtain node and cluster-admin access when the host already has permission to deploy it. This issue is fixed in version 53.4.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com