Kubeshark
Monthly
Argument injection in the Kubeshark MCP server's start_kubeshark tool (cmd/mcpRunner.go) lets a caller-controlled pod_regex be parsed as a Helm --set override, redirecting the tap.docker.registry and tap.docker.tag values so the deployed worker, Hub, and front images come from an attacker-controlled registry; because the worker DaemonSet runs privileged with host networking and host filesystem access, a malicious image can yield node and cluster-admin compromise. Affected are Kubeshark versions from 53.1.0 up to (but not including) 53.4.0, and only when the operator has explicitly started `kubeshark mcp --allow-destructive` and the host already holds a kubeconfig permitted to deploy the privileged DaemonSet. The advisory includes a reporter-supplied proof of concept demonstrating deployment of an attacker image and reading of host cluster-admin kubeconfigs; it is not verified as working exploit code, and no CISA KEV entry or public exploit status is reported for this CVE.
Arbitrary file write in the Kubeshark MCP server (the `kubeshark mcp` stdio subcommand, versions 53.1.0 through 53.3.0) lets an attacker who can influence tool arguments - for example through indirect prompt injection against an AI agent driving the server - write Hub-API-supplied bytes to any path the local MCP user can write, including locations such as ~/.ssh/authorized_keys or ~/.kube/config. The same unvalidated `path` argument also lets the tool fetch arbitrary Kubeshark Hub API endpoints, so on a default auth-disabled Hub deployment captured network traffic containing credentials, tokens and PII can be read and exfiltrated end-to-end. The vendor advisory documents a reporter proof-of-concept workflow (export_snapshot_pcap followed by download_file) that recovered a planted bearer token from a captured PCAP; no public exploit code is confirmed and there is no KEV or EPSS signal, and the local write is confined to the invoking user's privileges with content constrained to Hub responses, so reliable code execution is not demonstrated.
Argument injection in the Kubeshark MCP server's start_kubeshark tool (cmd/mcpRunner.go) lets a caller-controlled pod_regex be parsed as a Helm --set override, redirecting the tap.docker.registry and tap.docker.tag values so the deployed worker, Hub, and front images come from an attacker-controlled registry; because the worker DaemonSet runs privileged with host networking and host filesystem access, a malicious image can yield node and cluster-admin compromise. Affected are Kubeshark versions from 53.1.0 up to (but not including) 53.4.0, and only when the operator has explicitly started `kubeshark mcp --allow-destructive` and the host already holds a kubeconfig permitted to deploy the privileged DaemonSet. The advisory includes a reporter-supplied proof of concept demonstrating deployment of an attacker image and reading of host cluster-admin kubeconfigs; it is not verified as working exploit code, and no CISA KEV entry or public exploit status is reported for this CVE.
Arbitrary file write in the Kubeshark MCP server (the `kubeshark mcp` stdio subcommand, versions 53.1.0 through 53.3.0) lets an attacker who can influence tool arguments - for example through indirect prompt injection against an AI agent driving the server - write Hub-API-supplied bytes to any path the local MCP user can write, including locations such as ~/.ssh/authorized_keys or ~/.kube/config. The same unvalidated `path` argument also lets the tool fetch arbitrary Kubeshark Hub API endpoints, so on a default auth-disabled Hub deployment captured network traffic containing credentials, tokens and PII can be read and exfiltrated end-to-end. The vendor advisory documents a reporter proof-of-concept workflow (export_snapshot_pcap followed by download_file) that recovered a planted bearer token from a captured PCAP; no public exploit code is confirmed and there is no KEV or EPSS signal, and the local write is confined to the invoking user's privileges with content constrained to Hub responses, so reliable code execution is not demonstrated.