Flux159 mcp-server-kubernetes
mcp-server-kubernetes Affected By Tool Access Control Bypass: Presentation-Layer Filtering Without Execution-Layer Enforcement
mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to version 3.6.0, mcp-server-kubernetes exposes three environment variables (ALLOW_ONLY_READONLY_TOOLS, ALLOW_ONLY_NON_DESTRUCTIVE_TOOLS, ALLOWED_TOOLS) documented as access controls for restricting which Kubernetes operations are available. These controls are enforced at the tool discovery layer (tools/list) but not at the execution layer (tools/call). Any client that knows a tool name can invoke it directly regardless of the configured restriction mode. The access control was effectively cosmetic. This issue has been patched in version 3.6.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.6.0
Fixed in 3.6.0
Mitigation
Upgrade mcp-server-kubernetes to 3.6.0 or later.
References
- Vendor advisory github.com/Flux159/mcp-server-kubernetes/secur…
- Release notes github.com/Flux159/mcp-server-kubernetes/relea…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.