Check ID:
Provider: Kubernetes
Service:
Severity: HIGH
Categories:
Resource type:
core_minimize_allowPrivilegeEscalation_containersProvider: Kubernetes
Service:
coreSeverity: HIGH
Categories:
container-securityResource type:
PodWhat this check verifies
Kubernetes Pods are evaluated for containers that enableallowPrivilegeEscalation. The finding highlights pods where any container permits processes to gain extra privileges; pods whose containers set allowPrivilegeEscalation: false are noted as not allowing escalation.
Risk
Allowing privilege escalation lets processes acquire elevated rights, undermining container isolation. Attackers can abuse setuid paths and capabilities to tamper with workloads (integrity), read sensitive data (confidentiality), pivot within the cluster, or disrupt services (availability).Recommendation
SetallowPrivilegeEscalation: false by default and apply least privilege:
- run as non-root; drop caps (
drop: ["ALL"]) - avoid
privileged; usereadOnlyRootFilesystem - enforce via namespace admission policies (e.g., PSA/OPA) and monitor exceptions
Remediation
- Terraform
- Dashboard steps
References
- https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
- https://support.icompaas.com/support/solutions/articles/62000234205-minimize-the-admission-of-containers-with-allowprivilegeescalation
- https://kubernetes.io/docs/concepts/security/pod-security-standards/
Where this check fires
This check runs on every scheduled scan against your Kubernetes account. Findings appear at Cloud Security → Findings filterable byCheck ID = core_minimize_allowPrivilegeEscalation_containers. 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