{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "588d4949b0233974c3966a7d24d532be11e56d0d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.2.0",
                "range": [
                  {
                    "fixed": "0b6e0e8bb456c0c47a939b0a3eab8d03a95a4a04"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0b6e0e8bb456c0c47a939b0a3eab8d03a95a4a04"
            },
            {
              "fixed": "588d4949b0233974c3966a7d24d532be11e56d0d"
            }
          ],
          "repo": "https://github.com/flux159/mcp-server-kubernetes",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-88"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134817.json"
  },
  "details": "mcp-server-kubernetes before 4.2.0 contains an argument injection vulnerability that allows remote MCP clients to inject kubectl flags by supplying dash-prefixed values as positional operands in tools such as exec_in_pod, kubectl_patch, and kubectl_logs. Attackers connected over SSE or Streamable HTTP transport can supply values like --filename to make kubectl read files from the server host, bypassing file-read restrictions.",
  "id": "CVE-2026-134817",
  "modified": "2026-11-22T22:45:49.245446520Z",
  "published": "2026-11-22T21:22:10.614Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134817.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Flux159/mcp-server-kubernetes"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Flux159/mcp-server-kubernetes/blob/v4.1.9/src/tools/exec_in_pod.ts#L105"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Flux159/mcp-server-kubernetes/commit/588d4949b0233974c3966a7d24d532be11e56d0d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Flux159/mcp-server-kubernetes/pull/390"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v4.2.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134817"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mcp-server-kubernetes-before-4.2.0-argument-injection-via-flag-shaped-positional-operands"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "mcp-server-kubernetes before 4.2.0 Argument Injection via Flag-Shaped Positional Operands"
}