← All advisories

CVE-2026-61459criticalSecret exposure2026-07-10

CVE-2026-61459: MCP Server Kubernetes flag injection in kubectl tools can send the cluster bearer token to an attacker server (fixed 3.9.0)

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.

01.

What it is

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.

02.

How to check

  1. Affected: mcp-server-kubernetes (npm) < 3.9.0.
  2. Compare your installed version with the range above (command below).
03.

How to fix

  1. Upgrade mcp-server-kubernetes to 3.9.0 or later (4.2.0+ also fixes CVE-2026-134817).
npm ls mcp-server-kubernetes
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.