Description
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.
Problem types
CWE-863: Incorrect Authorization
Product status
References
github.com/...rnetes/security/advisories/GHSA-cr22-wjx7-2w6m
github.com/...rnetes/security/advisories/GHSA-cr22-wjx7-2w6m
github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.6.0