~ / search / GHSA-wmg3-h8mf-wgvr

GHSA-wmg3-h8mf-wgvr

mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials

Source: GitHub Advisory Database (reviewed) Critical CVE-2026-61459

Packages

EcosystemPackageAffectedFixed in
npm mcp-server-kubernetes < 3.9.0 3.9.0

Details

As written in the advisory (Markdown source, shown as plain text).

MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectl_get, kubectl_describe, kubectl_delete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes. Attackers can inject the --server flag to redirect kubectl commands to an attacker-controlled API server, causing the operator's bearer token to be transmitted externally and enabling full cluster compromise.

References

External links from the advisory. They lead to third-party sites.