FixVibe

critical

mcp-server-kubernetes npm Argument Injection Can Expose Cluster Credentials

CVE-2026-61459 is a Critical argument-injection vulnerability in the Node.js npm package mcp-server-kubernetes before 3.9.0. FixVibe covers it with a High-severity, version-based repository advisory that deliberately excludes the unrelated same-named PyPI distribution.

CVE-2026-61459GHSA-WMG3-H8MF-WGVRCWE-88

Impact

CVE-2026-61459 is rated Critical by its CNA (CVSS 4.0 9.3; CVSS 3.1 9.8). In affected releases of the Node.js npm package mcp-server-kubernetes, attacker-influenced arguments to structured Kubernetes tools can redirect kubectl and expose the operator's configured bearer token [S1][S2][S7]. The practical impact depends on the credential present, its RBAC permissions, whether the affected tool is invoked, and whether the process can reach an attacker-controlled service. Full cluster compromise is a worst-case outcome, not something package-version evidence proves.

Root cause

Structured tools such as kubectl_get, kubectl_describe, and kubectl_delete placed MCP-supplied resourceType and name values into the final kubectl argument vector. The existing safety check covered free-form arguments to the generic tool but not these positional values, while kubectl can interpret option-looking positional tokens as flags [S2]. The upstream fix adds validation at the completed-argument-vector boundary across the synchronous kubectl and Helm execution paths, addressing CWE-88 [S3].

How FixVibe covers it

FixVibe's GitHub repository scans flag JavaScript manifests and lockfiles that resolve or allow the npm package mcp-server-kubernetes in the affected range <3.9.0 [S1][S5][S6], reported as a High-severity advisory with the package, version and file, while this research note retains the upstream Critical impact rating.

The CVE Program identifies pkg:npm/mcp-server-kubernetes, and the upstream project is a Node.js/npm package [S1][S5]. GitHub Reviewed, OSV, and PyPA currently attach the advisory to a same-named PyPI distribution [S8][S9][S10]. That Python package has a separate maintainer and release line ending at 0.1.6, with no 3.9.0 release [S11], so FixVibe reports this CVE for the npm package only.

Remediation

Upgrade the npm package mcp-server-kubernetes to version 3.9.0 or later and refresh the repository lockfile so the resolved version is fixed [S1][S3][S4][S6]. Prefer a current supported release, keep ALLOW_KUBECTL_UNSAFE_FLAGS disabled, and review MCP configuration, outbound network access, and Kubernetes RBAC. If credential exposure is suspected, rotate the affected credentials and review cluster audit records. Do not treat installation or upgrading of the unrelated PyPI package as remediation for this CVE [S11].