SCA: security update for mcp-server-kubernetes (GHSA-6mx4-4h42-r8vh)

medium Tenable Cloud Security Plugin ID 496723

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to
version 3.7.0, the kubectl_generic tool in mcp-server-kubernetes passes user-supplied flags directly to
kubectl without any allowlist, enabling a privilege escalation attack within Kubernetes environments. An
attacker who already has limited cluster or codebase access, for example, a developer with pod-deployment
permissions but not cluster-admin credentials, can plant a single structured JSON line in an application's
log output. When an operator with a privileged kubeconfig uses the MCP server to read those logs and their
AI agent follows the injected instruction, kubectl_generic is called with
--server=https://attacker.example.com and --insecure-skip-tls-verify=true. kubectl sends all API requests,
including the Authorization: Bearer <token> header from the operator's kubeconfig to the attacker's
endpoint. The captured token can then be replayed directly against the real Kubernetes API server,
granting the attacker the full RBAC permissions of the operator's service account. This issue has been
patched in version 3.7.0. (CVE-2026-47250)

Solution

Update the mcp-server-kubernetes library and its related packages to version 3.7.0 or later.

See Also

https://github.com/advisories/GHSA-6mx4-4h42-r8vh

Plugin Details

Severity: Medium

ID: 496723

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 51.26

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-47250

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/5/2026

Vulnerability Publication Date: 6/5/2026

Reference Information

CVE: CVE-2026-47250

cwe: CWE-88