Kubernetes v1.35: Restricting Executables Invoked by Kubeconfigs via Exec Plugin AllowList
29 similar posts
- Kubernetes
- kubectl
- client-go
AI Summary
Kubernetes v1.35 introduces a beta feature adding credential plugin policies and allowlists to kuberc and client-go. This mitigates supply-chain risks where untrusted or auto-generated kubeconfigs execute arbitrary binaries or shell scripts with user privileges. Users can now enforce policies like DenyAll or explicitly permit specific plugins using basenames or full paths.
Key Takeaways
- Added via SIG-Auth and SIG-CLI in Kubernetes 1.35 as a beta feature without feature gates.
- Configured via kuberc fields credentialPluginPolicy and credentialPluginAllowlist.
- Supports policies such as DenyAll and Allowlist, with future plans for checksums and binary signing.
Why it matters
Unrestricted execution of credential plugins in kubeconfig files poses a severe security risk if the generation pipeline is compromised. This feature provides direct control over executed binaries, preventing unauthorized code execution on developer and administrator machines.
Conversation0
What would you add from your experience?
Checking your session…
Every good conversation starts with one perspective.