CVE Explorer
CVE-2026-39884
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"mcp-server-kubernetes","vendor":"Flux159","versions":[{"status":"affected","version":"< 3.5.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:02a31e15c1046a8db149177f51b4db7f54368cd17d3c2943111b8ed9d2b02279 · sha256:59e73591c52024a1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:02a31e15c1046a8db149177f51b4db7f54368cd17d3c2943111b8ed9d2b02279 · sha256:59e73591c52024a1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-88","description":"CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:02a31e15c1046a8db149177f51b4db7f54368cd17d3c2943111b8ed9d2b02279 · sha256:59e73591c52024a1… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.5.0","tags":["x_refsource_MISC"],"url":"https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.5.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:02a31e15c1046a8db149177f51b4db7f54368cd17d3c2943111b8ed9d2b02279 · sha256:59e73591c52024a1… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-4xqg-gf5c-ghwq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:02a31e15c1046a8db149177f51b4db7f54368cd17d3c2943111b8ed9d2b02279 · sha256:59e73591c52024a1… · /containers/adp/0/references/0
{"name":"https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-4xqg-gf5c-ghwq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-4xqg-gf5c-ghwq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:02a31e15c1046a8db149177f51b4db7f54368cd17d3c2943111b8ed9d2b02279 · sha256:59e73591c52024a1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.