STIGUI
V-254561CAT I — High severitySV-254561r1137639_rule

The Kubernetes kubelet must enable explicit authorization.

Rule version CNTR-R2-000150 · STIG v2 · 2026-05-13

Discussion

Kubelet is the primary agent on each node. The API server communicates with each kubelet to perform tasks such as starting/stopping pods. By default, kubelets allow all authenticated requests, even anonymous ones, without requiring any authorization checks from the API server. This default behavior bypasses any authorization controls put in place to limit what users may perform within the Kubernetes cluster. To change this behavior, the default setting of AlwaysAllow for the authorization mode must be set to "Webhook".

Check

Ensure authorization-mode is set correctly in the kubelet on each rke2 node.

Run this command on each node: /bin/ps -ef | grep kubelet | grep -v grep

If --authorization-mode is not set to "Webhook" or is not configured, this is a finding.

Fix

Edit the RKE2 Configuration File /etc/rancher/rke2/config.yaml on every RKE2 node and set the following "kubelet-arg" argument:

- authorization-mode=Webhook

Once the configuration file is updated, restart the RKE2 Server or Agent. Run the command: systemctl restart rke2-server or systemctl restart rke2-agent

Identifiers

Group ID
V-254561
Group title
SRG-APP-000033-CTR-000095
Rule ID
SV-254561r1137639_rule
Check ID
C-58045r918232_chk
Fix ID
F-57994r918233_fix