GHSA-4hqq-7q79-932p

Suggest an improvement
Source
https://github.com/advisories/GHSA-4hqq-7q79-932p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-4hqq-7q79-932p/GHSA-4hqq-7q79-932p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4hqq-7q79-932p
Aliases
Published
2025-09-15T15:31:24Z
Modified
2026-06-29T12:26:29Z
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.

Database specific
{
    "cwe_ids": [
        "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-09-15T21:38:22Z",
    "nvd_published_at": "2025-09-15T14:15:44Z",
    "severity": "CRITICAL"
}
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
0 Unknown 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/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-4hqq-7q79-932p/GHSA-4hqq-7q79-932p.json"