Advisory

GHSA-wmg3-h8mf-wgvr

Also known as: CVE-2026-61459, PYSEC-2026-3685

Summary

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

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-07-10 21:32 UTC
Modified
2026-10-28 15:15 UTC

Affected packages and fixes

mcp-server-kubernetes

npm · All systems

Affected

  • introduced 0, fixed 3.9.0 (semver)

Fixed versions

3.9.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences