GHSA-wmg3-h8mf-wgvr

Suggest an improvement
Source
https://github.com/advisories/GHSA-wmg3-h8mf-wgvr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-wmg3-h8mf-wgvr/GHSA-wmg3-h8mf-wgvr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wmg3-h8mf-wgvr
Aliases
Published
2026-07-10T21:32:32Z
Modified
2026-08-19T12:55:51Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-88"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-08-12T19:26:54Z",
    "nvd_published_at":  "2026-07-10T19:17:27Z",
    "severity":  "CRITICAL"
}
References

Affected packages

PyPI / mcp-server-kubernetes

Package

Name
mcp-server-kubernetes
View open source insights on deps.dev
Purl
pkg:pypi/mcp-server-kubernetes

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.9.0

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-wmg3-h8mf-wgvr/GHSA-wmg3-h8mf-wgvr.json"