p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de mcp-server-kubernetes

Vulnérabilité publiée pour mcp-server-kubernetes au cours des 30 derniers jours : 0. Dans le catalogue KEV : 0.

Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 6

  1. CVE-2026-61459

    Critique · CVSS 9.3EPSS 2,36%Code d’exploitation publicCorrectif disponible

    MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools

    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.

    • Mettez à jour vers 3.9.0
    Publication Mise à jour
  2. CVE-2026-47250

    Moyenne · CVSS 6.1EPSS 0,42%Correctif disponible

    mcp-server-kubernetes: kubectl-generic flag injection enables Kubernetes bearer token exfiltration

    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

    • Mettez à jour vers 3.7.0
    Publication Mise à jour
  3. CVE-2026-46519

    Élevée · CVSS 8.8EPSS 0,51%Correctif disponible

    mcp-server-kubernetes Affected By Tool Access Control Bypass: Presentation-Layer Filtering Without Execution-Layer Enforcement

    mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to version 3.6.0, mcp-server-kubernetes exposes three environment variables (ALLOW_ONLY_READONLY_TOOLS, ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS, ALLOWED_TOOLS) documented as access controls for restricting which Kubernetes operations are available. These controls are enforced at the tool discovery layer (tools/list) but not at the execution layer (tools/call). Any client that knows a tool name can invoke it directly regardless of the configured restriction mode. The access control was effectively cosmetic. This issue has been patched in version 3.6.0.

    • Mettez à jour vers 3.6.0
    Publication Mise à jour
  4. CVE-2026-39884

    Élevée · CVSS 8.3EPSS 0,26%Correctif disponible

    MCP Server Kubernetes has Argument Injection in its port_forward tool via space-splitting

    mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Versions 3.4.0 and prior contain an argument injection vulnerability in the port_forward tool in src/tools/port_forward.ts, where a kubectl command is constructed via string concatenation with user-controlled input and then naively split on spaces before being passed to spawn(). Unlike all other tools in the codebase which correctly use array-based argument passing with execFileSync(), port_forward treats every space in user-controlled fields (namespace, resourceType, resourceName, localPort, targetPort) as an argument boundary, allowing an attacker to

    • Mettez à jour vers 3.5.0
    Publication Mise à jour
  5. CVE-2025-66404

    Moyenne · CVSS 6.4EPSS 1,48%Correctif disponible

    mcp-server-kubernetes potential security issue in exec_in_pod tool

    MCP Server Kubernetes is an MCP Server that can connect to a Kubernetes cluster and manage it. Prior to 2.9.8, there is a security issue exists in the exec_in_pod tool of the mcp-server-kubernetes MCP Server. The tool accepts user-provided commands in both array and string formats. When a string format is provided, it is passed directly to shell interpretation (sh -c) without input validation, allowing shell metacharacters to be interpreted. This vulnerability can be exploited through direct command injection or indirect prompt injection attacks, where AI agents may execute commands without explicit user intent. This vulnerability is fixed in

    • Mettez à jour vers 2.9.8
    Publication Mise à jour
  6. CVE-2025-53355

    Élevée · CVSS 7.5EPSS 2,24%Correctif disponible

    mcp-server-kubernetes vulnerable to command injection in several tools

    MCP Server Kubernetes is an MCP Server that can connect to a Kubernetes cluster and manage it. A command injection vulnerability exists in the mcp-server-kubernetes MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to child_process.execSync, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. This vulnerability is fixed in 2.5.0.

    • Mettez à jour vers 2.5.0
    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →