Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-39884
suyogs mcp-server-kubernetes

Score8.1 High
CVSS 3.1
Exploit probability (EPSS)0.43%
within the next 30 days
CategoryCode execution & injection
Published15 April 2026
Last modified: 26 October 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weakness: CWE-88

Affected products

VendorProductVersions
suyogsmcp-server-kubernetes<3.5.0

Sources

Latest in the same category

  • CVE-2026-140041 High 8.5
    A flaw has been found in WAVLINK WL-WN530BE1-A M30BE1_V251117. The impacted element is the function FUN_0001f94c of the file /protocol.csp of the component ioos. Executing a manipulation of the argument mac can lead to…
    Code execution & injection · 1 December 2026
  • CVE-2026-140040 High 8.6
    A vulnerability was detected in WAVLINK WL-WN530BE1-A M30BE1_V251117. The affected element is the function port_forward of the file /protocol.csp of the component ioos. Performing a manipulation of the argument Name…
    Code execution & injection · 1 December 2026
  • CVE-2026-139983 Medium 5.5
    A vulnerability was identified in walinejs Waline up to 1.43.4. This issue affects some unknown processing. Such manipulation of the argument mail leads to sql injection. The attack can be executed remotely. The…
    Code execution & injection · 1 December 2026
  • CVE-2026-139982 Medium 5.5
    A vulnerability was found in PerfreeBlog up to 4.0.11. This issue affects the function buildPage of the file MyBatisUtils.java. Performing a manipulation of the argument Field results in sql injection. Remote…
    Code execution & injection · 1 December 2026
  • CVE-2026-139980 Low 2.1
    A vulnerability was detected in PerfreeBlog up to 4.0.11. Affected by this issue is the function buildPage of the file MyBatisUtils.java. The manipulation of the argument Field results in sql injection. The attack can…
    Code execution & injection · 1 December 2026
  • CVE-2026-105843 High 7.7
    A flaw was found in OpenShift Router. The regular expression used to validate the haproxy.router.openshift.io/hsts_header route annotation matches the whitespace character class, which includes newline characters, and…
    Code execution & injection · 1 December 2026