PYSEC-2026-409

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/mcp-kubernetes-server/PYSEC-2026-409.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-409
Aliases
Published
2026-06-29T11:50:37.573909Z
Modified
2026-07-01T20:22:57.494412Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
mcp-kubernetes-server has an OS Command Injection vulnerability
Details

feiskyer/mcp-kubernetes-server through 0.1.11 allows OS command injection via the /mcp/kubectl endpoint. The handler constructs a shell command with user-supplied arguments and executes it with subprocess using shell=True, enabling injection through shell metacharacters (e.g., ;, &&, $()), even when the server is running in read-only mode.

A remote, unauthenticated attacker can execute arbitrary OS commands on the host, resulting in full compromise of confidentiality, integrity, and availability.

This issue is distinct from mcp-server-kubernetes and from CVE-2025-53355.

References

Affected packages

PyPI / mcp-kubernetes-server

Package

Name
mcp-kubernetes-server
View open source insights on deps.dev
Purl
pkg:pypi/mcp-kubernetes-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.1.11

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
0.1.10
0.1.11

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/mcp-kubernetes-server/PYSEC-2026-409.yaml"