GHSA-4xqg-gf5c-ghwq · 深刻度: high · エコシステム: npm — MCP Server Kubernetes has an Argument Injection in 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 inject arbitrary kubectl flags. This enables exposure of internal Kubernetes services to the network by injecting --address=0.0.0.0, cross-namespace targeting by injecting additional -n flags, and indirect exploitation via prompt injection against AI agents connected to the MCP server. This issue has been fixed in version 3.5.0.
総合評価: CVE-2026-39884 は低リスク(39.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.26%、17 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.04% | 0.26% | +0.22% |
| 2 | 2026-04-24 | 0.05% | 0.04% | -0.01% |
| 3 | 2026-04-20 | — | 0.05% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.3 | 3.1 | HIGH |
|
2.8 | 5.5 | [email protected] |
| 8.1 | 3.1 | HIGH |
|
2.8 | 5.2 | [email protected] |
GHSA-4xqg-gf5c-ghwq · 深刻度: high · エコシステム: npm — MCP Server Kubernetes has an Argument Injection in port_forward tool via space-splitting
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| suyogs | mcp-server-kubernetes | < 3.5.0 | cpe:2.3:a:suyogs:mcp-server-kubernetes:*:*:*:*:*:node.js:*:* |
| URL | タグ |
|---|---|
| https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.5.0 | Product Release Notes |
| https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-4xqg-gf5c-ghwq | Mitigation Vendor Advisory |