{
  "schemaVersion": "guard-threat-campaign/v1",
  "id": "HGTC-2026-F0392883",
  "slug": "cve-2026-134817-mcp-server-kubernetes-argument-injection-file-read",
  "title": "Kubernetes MCP server: a remote client can make it read files off its host through dash-prefixed names (CVE-2026-134817, fixed in 4.2.0)",
  "aliases": [
    "CVE-2026-134817",
    "mcp-server-kubernetes 4.2.0",
    "Flux159/mcp-server-kubernetes",
    "mcp-server-kubernetes argument injection",
    "CWE-88"
  ],
  "summary": "VulnCheck published CVE-2026-134817 on November 22, 2026 (CWE-88, CVSS 3.1 7.1 High, vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N). mcp-server-kubernetes before 4.2.0 builds kubectl command lines from client-supplied names, and kubectl treats any dash-prefixed word as an option. The 4.2.0 release adds flag-shaped operand checks to the remaining tools (pull request 390: exec_in_pod, kubectl_patch, kubectl_rollout, kubectl_logs, kubectl_create, explain_resource, node_management, port_forward). The sources checked do not mark it as known exploited and it is not on CISA KEV. The project has since shipped 4.2.1, 4.2.2 and 4.2.3.",
  "status": "published",
  "severity": "high",
  "confidence": "high",
  "uncertainty": "The CVE record is new and NVD analysis has not started (status Received). No GitHub security advisory for this CVE was found on the project at publication time. Which files are reachable depends on what the server's account can read, which HOL cannot see.",
  "firstObservedAt": "2026-11-22T21:22:10Z",
  "lastObservedAt": "2026-11-23T14:29:30Z",
  "publishedAt": "2026-11-23T14:33:16.800Z",
  "reviewedAt": "2026-11-23T14:33:08.305Z",
  "expiresAt": "2026-11-23T14:29:30Z",
  "reviewer": "HOL Guard Security Publishing",
  "sources": [
    {
      "id": "nvd-record",
      "label": "NVD record for CVE-2026-134817",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134817",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-11-22T22:17:36Z"
    },
    {
      "id": "vulncheck-advisory",
      "label": "VulnCheck advisory: mcp-server-kubernetes before 4.2.0 argument injection via flag-shaped positional operands",
      "url": "https://www.vulncheck.com/advisories/mcp-server-kubernetes-before-4.2.0-argument-injection-via-flag-shaped-positional-operands",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-11-23T14:29:30Z"
    },
    {
      "id": "fix-pr-390",
      "label": "Flux159/mcp-server-kubernetes pull request 390: Refuse flag-shaped operands in the remaining kubectl tools",
      "url": "https://github.com/Flux159/mcp-server-kubernetes/pull/390",
      "sourceType": "maintainer_advisory",
      "observedAt": "2026-10-26T16:37:07Z"
    },
    {
      "id": "release-4-2-0",
      "label": "mcp-server-kubernetes v4.2.0 release notes",
      "url": "https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v4.2.0",
      "sourceType": "maintainer_advisory",
      "observedAt": "2026-10-26T17:32:07Z"
    },
    {
      "id": "hol-blog",
      "label": "HOL blog: CVE-2026-134817 fix guide",
      "url": "https://hol.org/blog/cve-2026-134817-mcp-server-kubernetes-argument-injection-file-read",
      "sourceType": "other_primary",
      "observedAt": "2026-11-23T14:29:30Z"
    }
  ],
  "artifacts": [
    {
      "id": "mcp-server-kubernetes-npm",
      "artifactClass": "mcp_server",
      "ecosystem": "npm",
      "name": "mcp-server-kubernetes",
      "version": "<4.2.0",
      "defanged": false
    }
  ],
  "indicators": [],
  "timeline": [
    {
      "id": "fix-released-4-2-0",
      "occurredAt": "2026-10-26T17:32:07Z",
      "eventType": "vendor_action",
      "summary": "mcp-server-kubernetes 4.2.0 is released with flag-shaped operand checks in the remaining kubectl tools.",
      "sourceIds": [
        "release-4-2-0",
        "fix-pr-390"
      ]
    },
    {
      "id": "cve-published-vulncheck",
      "occurredAt": "2026-11-22T22:17:36Z",
      "eventType": "disclosure",
      "summary": "VulnCheck publishes CVE-2026-134817 for mcp-server-kubernetes before 4.2.0.",
      "sourceIds": [
        "nvd-record",
        "vulncheck-advisory"
      ]
    },
    {
      "id": "hol-blog-published",
      "occurredAt": "2026-11-23T14:29:30Z",
      "eventType": "other",
      "summary": "HOL publishes the operator write-up with the upgrade command, who is not in scope and a transport check.",
      "sourceIds": [
        "hol-blog"
      ]
    }
  ],
  "coverage": [
    {
      "assertionId": "guard-not-server-side-runtime",
      "relationship": "not_covered",
      "limitation": "HOL Guard reviews AI coding agent actions on the developer machine. It does not patch the MCP server or filter requests to a network-hosted instance; the fix is upgrading mcp-server-kubernetes."
    }
  ],
  "policies": [],
  "limitations": [
    "Local stdio launches (the setup in the project's README for Claude Code, Codex, VS Code and Cursor) have no remote client and are outside the reported path.",
    "The HTTP transport only runs when ENABLE_UNSAFE_STREAMABLE_HTTP_TRANSPORT is set and the SSE transport only when ENABLE_UNSAFE_SSE_TRANSPORT is set.",
    "Not known exploited and not on CISA KEV as of 2026-11-23.",
    "This is a file read through kubectl options, not code execution on its own."
  ],
  "correctionHref": "/guard/security/campaigns/cve-2026-134817-mcp-server-kubernetes-argument-injection-file-read/corrections"
}
