Skip to content
EventPast event

Kubeshark fixes MCP tool parameter injection vulnerability

1 reports1 reporting sourcesLatest report

Start here

AI overview

Kubeshark's MCP tool start_kubeshark has a parameter injection vulnerability: the tool splices the caller-supplied pod_regex as a bare positional argument into the tap command, and there is no -- option terminator, so values beginning with - are parsed by cobra as command-line flags, thereby injecting --set to override Helm values and redirecting the deployed worker, hub and front images to an attacker-controlled repository. The worker DaemonSet runs privileged, with hostNetwork and the host filesystem mounted, so the attacker's image can read the host's cluster management kubeconfig, leading to takeover of the Kubernetes cluster. The vulnerability has been fixed in commit a76a192.

Generated by AI from reports · Updated 12 days ago

Progress timeline

Nov 17
  1. GitHub Security AdvisoriesSelected
    Kubeshark fixes MCP tool parameter injection vulnerability leading to cluster takeover

    Kubeshark's MCP tool start_kubeshark has a parameter injection vulnerability that can lead to takeover of a Kubernetes cluster, fixed in commit a76a192. The tool concatenates the caller-supplied pod_regex as a bare positional argument into the tap command, and there is no -- option terminator, so values beginning with - are parsed by cobra as command-line flags, thereby injecting --set to override Helm values and redirect the deployed worker, hub and front images to an attacker-controlled repository; the worker DaemonSet runs privileged, with hostNetwork and the host filesystem mounted, so the attacker's image can read the host's cluster-admin kubeconfig.

Related discussion

Total 7 items

Attention trend

New sources per day

5 in 13 days·most 5 (Nov 17)·today 0

  • Nov 17: 5 new sources (1 outlets, 4 accounts)
  • Nov 18: 0 new sources (0 outlets, 0 accounts)
  • Nov 19: 0 new sources (0 outlets, 0 accounts)
  • Nov 20: 0 new sources (0 outlets, 0 accounts)
  • Nov 21: 0 new sources (0 outlets, 0 accounts)
  • Nov 22: 0 new sources (0 outlets, 0 accounts)
  • Nov 23: 0 new sources (0 outlets, 0 accounts)
  • Nov 24: 0 new sources (0 outlets, 0 accounts)
  • Nov 25: 0 new sources (0 outlets, 0 accounts)
  • Nov 26: 0 new sources (0 outlets, 0 accounts)
  • Nov 27: 0 new sources (0 outlets, 0 accounts)
  • Nov 28: 0 new sources (0 outlets, 0 accounts)
  • Nov 29: 0 new sources (0 outlets, 0 accounts)

Hourly attention

Current attention 40·Peak in the comparable period 40 (Nov 22 21:00)·Change over the comparable past 24 hours 0%

010203040Nov 2221:00Nov 2308:00Nov 2319:00Nov 2406:00