CVE-2026-39884 | Flux159 mcp-server-kubernetes up to 3.4.x Model Context Protocol port_forward.ts spawn argument injection
VulDBArchived Apr 15, 2026✓ Full text saved
A vulnerability classified as critical was found in Flux159 mcp-server-kubernetes up to 3.4.x . This issue affects the function spawn of the file src/tools/port_forward.ts of the component Model Context Protocol . Executing a manipulation can lead to argument injection. This vulnerability appears as CVE-2026-39884 . The attack may be performed from remote. There is no available exploit. Upgrading the affected component is advised.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357659 · CVE-2026-39884 · GCVE-0-2026-39884
FLUX159 MCP-SERVER-KUBERNETES UP TO 3.4.X MODEL CONTEXT PROTOCOL PORT_FORWARD.TS SPAWN ARGUMENT INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.1 $0-$5k 2.04+
Summaryinfo
A vulnerability, which was classified as critical, has been found in Flux159 mcp-server-kubernetes up to 3.4.x. Impacted is the function spawn of the file src/tools/port_forward.ts of the component Model Context Protocol. The manipulation leads to argument injection. This vulnerability is traded as CVE-2026-39884. It is possible to initiate the attack remotely. There is no exploit available. It is advisable to upgrade the affected component.
Detailsinfo
A vulnerability was found in Flux159 mcp-server-kubernetes up to 3.4.x. It has been rated as critical. This issue affects the function spawn of the file src/tools/port_forward.ts of the component Model Context Protocol. The manipulation with an unknown input leads to a argument injection vulnerability. Using CWE to declare the problem leads to CWE-88. The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-39884 since 04/07/2026. The exploitation is known to be easy. The attack may be initiated remotely. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.
Upgrading to version 3.5.0 eliminates this vulnerability.
Productinfo
Type
Virtualization Software
Vendor
Flux159
Name
mcp-server-kubernetes
Version
3.0
3.1
3.2
3.3
3.4
Website
Product: https://github.com/Flux159/mcp-server-kubernetes/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.1
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 8.3
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Argument injection
CWE: CWE-88 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: mcp-server-kubernetes 3.5.0
Timelineinfo
04/07/2026 CVE reserved
04/15/2026 +8 days Advisory disclosed
04/15/2026 +0 days VulDB entry created
04/15/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: github.com
Status: Confirmed
CVE: CVE-2026-39884 (🔒)
GCVE (CVE): GCVE-0-2026-39884
GCVE (VulDB): GCVE-100-357659
Entryinfo
Created: 04/15/2026 07:32
Changes: 04/15/2026 07:32 (67)
Complete: 🔍
Cache ID: 99:E67:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸