Check ID:
Provider: Kubernetes
Service:
Severity: HIGH
Categories:
Resource type:
kubelet_config_yaml_permissionsProvider: Kubernetes
Service:
kubeletSeverity: HIGH
Categories:
node-securityResource type:
NodeWhat this check verifies
Kubernetes Kubelet configuration file (/var/lib/kubelet/config.yaml) is evaluated for restrictive file permissions. When kubelet uses --config, the file is expected to be owner-only readable/writable (600) or more restrictive.
Risk
Overly permissive kubelet config permissions allow unauthorized reads or edits. Attackers could extract credentials, adjust auth settings, or change node behavior, leading to data exposure (C), configuration tampering (I), and potential service disruption (A).Recommendation
Apply least privilege to the kubelet config:- Set mode
600or stricter - Ensure trusted ownership; deny group/world access
- Harden the parent directory
- Enforce via config management and file integrity monitoring
- Limit interactive access to worker nodes
Remediation
- CLI
- Dashboard steps
chmod 600 /var/lib/kubelet/config.yaml
References
Where this check fires
This check runs on every scheduled scan against your Kubernetes account. Findings appear at Cloud Security → Findings filterable byCheck ID = kubelet_config_yaml_permissions. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Kubernetes checks