Top 3 Container Escape Methods Exploiting Weak Sandboxing

The most common container escape techniques include running privileged containers, mounting the Docker socket into containers, and assigning excessive Linux capabilities such as `SYS_ADMIN`. These often exploit misconfigurations rather than complex zero-day vulnerabilities, granting attackers broad access to the host system.

The top 3

  1. Top runC Vulnerabilities for Container Breakouts: Exploits targeting container runtimes like runC have historically enabled escapes, such as CVE-2019-5736, which allowed malicious containers to overwrite the host's runc binary and gain root access. More recent vulnerabilities in 2025 (CVE-2025-31133, CVE-2025-52565, CVE-2025-52881) exploited maskedPaths abuse, /dev/console mount races, and procfs write redirects to bypass isolation.
  2. Most Exploited Kernel Vulnerability Types for Container Escapes: Container escapes frequently leverage underlying Linux kernel vulnerabilities, such as race conditions (e.g., Dirty COW, Dirty Pipe), heap buffer overflows (e.g., CVE-2022-0185), or flaws in cgroup `release_agent` mechanisms (e.g., CVE-2022-0492), allowing attackers to gain root access to the host system.
  3. Top Container Misconfigurations Enabling Sandbox Bypasses: Common container misconfigurations that enable sandbox escapes include running containers in privileged mode, mounting sensitive host paths (e.g., `/var/run/docker.sock`, `/proc`, `/sys`), and granting excessive Linux capabilities like `CAP_SYS_ADMIN` or `CAP_PTRACE`, which grant containers undue access to the host system.

Sources

Open the full topic