Security Digest · Vulnerability record

CVE-2026-61459: mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials

MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectlget, kubectldescribe, kubectldelete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes.

CVSS 9.3 Critical EPSS 2.4% · p84

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • Not in CISA KEV, but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
  • EPSS 2.4%, percentile 84: FIRST’s model estimates a 2.4% chance of exploitation activity in the next 30 days, higher than 84% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes mcp-server-kubernetes (PyPI) < 3.9.0, fixed in 3.9.0. Check your lockfile, including transitive dependencies.

What it is

MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectlget, kubectldescribe, kubectldelete) 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.

From the GitHub advisory

MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectlget, kubectldescribe, kubectldelete) 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.

Weakness type: CWE-88.

Product: mcp-server-kubernetes (PyPI) · Assigned by: VulnCheck · Published: 2026-07-10

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPImcp-server-kubernetes< 3.9.03.9.0
VendorProductAffected versions (per CVE record)
Flux159mcp-server-kubernetes< 3.9.0

Severity scores

Scored byCVSSScoreVector
VulnCheck4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub4.09.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Attack requirements: none
  • Privileges required: none (no login)
  • User interaction: none

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation poc, automatable yes, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 2.36% probability of exploitation activity in the next 30 days; percentile 84.

Timeline

  • — CVE record published by VulnCheck
  • — GitHub-reviewed advisory GHSA-wmg3-h8mf-wgvr published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vendor and project advisories, patches

  1. Release Notes github.com
  2. Patch Commit github.com

Vulnerability records

  1. GitHub Advisory GHSA-wmg3-h8mf-wgvr github.com
  2. CVE.org record CVE-2026-61459 cve.org
  3. NVD entry CVE-2026-61459 nvd.nist.gov

Other references from the CVE record and advisory

  1. Researcher Disclosure github.com
  2. Pull Request github.com
  3. vulncheck.com vulncheck.com

Critical PyPI advisories · Today’s Security Digest