PYSEC-2026-3685

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/mcp-server-kubernetes/PYSEC-2026-3685.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-3685
Aliases
Published
2026-08-19T11:56:25Z
Modified
2026-08-19T12:45:06Z
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
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
Details

MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectl_get, kubectl_describe, kubectl_delete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes. Attackers can inject the --server flag to redirect kubectl commands to an attacker-controlled API server, causing the operator's bearer token to be transmitted externally and enabling full cluster compromise.

References

Affected packages

PyPI / mcp-server-kubernetes

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.9.0

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.6

Database specific

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