Memory cards
A privileged pod with hostPath is a host escape
confidence: highupdated: 2026-11-24status: activecloudkubernetescontainer
Claim#
The pod runs privileged or as root and mounts a sensitive host path. The container can read or write host state.
Test#
Read /host/etc/shadow. Check the service account token. Look for the runtime socket.
Proof#
A host file or token read from inside the pod.
Failure modes#
hostPath alone without privilege is weaker. A read-only mount limits writes.