Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-47250: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in Flux159 mcp-server-kubernetes

0
Medium
VulnerabilityCVE-2026-47250cvecve-2026-47250cwe-88
Published: Thu Jun 11 2026 (06/11/2026, 18:35:50 UTC)
Source: CVE Database V5
Vendor/Project: Flux159
Product: mcp-server-kubernetes

Description

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.

CVSS v3.1

Score 6.1medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
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

Affected software

GitHub Actionsmore threats →ai
flux159/mcp-server-kubernetes
pkg:github/flux159/mcp-server-kubernetes
Affected versions
<3.7.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/11/2026, 19:15:54 UTC

Technical Analysis

The vulnerability CVE-2026-47250 in mcp-server-kubernetes (before 3.7.0) involves improper neutralization of argument delimiters (CWE-88) in the kubectl_generic tool. This tool forwards user-supplied flags directly to kubectl without validation or allowlisting. An attacker with limited cluster or codebase access can plant a structured JSON line in application logs that injects malicious flags such as --server and --insecure-skip-tls-verify. When an operator with privileged kubeconfig reads these logs via the MCP server, kubectl_generic sends API requests including the operator's Authorization Bearer token to the attacker's endpoint. The attacker can then replay this token to the Kubernetes API server, gaining the operator's full RBAC permissions. The vulnerability is fixed in version 3.7.0.

Potential Impact

An attacker with limited access (e.g., developer with pod-deployment permissions) can escalate privileges by causing an operator's kubeconfig token to be leaked to an attacker-controlled server. This token leak allows the attacker to impersonate the operator and gain full RBAC permissions on the Kubernetes cluster. The vulnerability compromises confidentiality and authorization but does not affect integrity or availability directly.

Mitigation Recommendations

This vulnerability is patched in mcp-server-kubernetes version 3.7.0. Users should upgrade to version 3.7.0 or later to remediate this issue. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor advisory stating the fix is included in version 3.7.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-18T22:54:18.273Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2b05db815e7002b81ec9fd

Added to database: 6/11/2026, 7:00:43 PM

Last enriched: 6/11/2026, 7:15:54 PM

Last updated: 6/11/2026, 8:10:16 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses