Skip to content
OpenAdvisories
High · 8.8 CVE-2026-46519 EUVD-2026-36286GHSA-cr22-wjx7-2w6m

mcp-server-kubernetes Affected By Tool Access Control Bypass: Presentation-Layer Filtering Without Execution-Layer Enforcement

Published Jun 11, 2026 · Updated Jun 11, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Flux159 mcp-server-kubernetes < 3.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed atril 1.28.4-1.1 openSUSE-SU-2026:10914-1
openSUSE Leap 16.0 atril 1.28.4-bp160.1.1 openSUSE-SU-2026:21152-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm mcp-server-kubernetes < 3.6.0 3.6.0 GHSA-cr22-wjx7-2w6m

Advisories 2

References