home / blog

2026-11-23 · high

CVE-2025-31133: Critical runc vulnerability enables container escape

High-severity vulnerability in runc fails to properly verify /dev/null bind-mounts, enabling container escape.

CVE-2025-31133: Critical runc vulnerability enables container escape

CVE-2025-31133 is a critical vulnerability in runc, a CLI tool for spawning and running containers according to the OCI specification. The flaw lies in insufficient verification of /dev/null bind-mounts, exposing systems to three attack vectors: host information disclosure, host denial of service, container escape, and bypass of maskedPaths. This vulnerability directly impacts container security sandboxing, potentially allowing a malicious user to gain access to the underlying host system.

The vulnerability has a CVSS score of 7.8, classifying it as high severity. The vulnerability was officially published on NVD on November 6, 2025. Signals have emerged on GitHub indicating the existence of exploits for container escape through a procfs race condition, confirming the critical nature of the vulnerability and the need for immediate remediation.

For defense, it is recommended to immediately update all runc instances to patched versions 1.2.8, 1.3.3, or 1.4.0-rc.3. For systems that cannot be immediately updated, it is possible to disable bind-mounts when possible, use additional sandboxes such as seccomp and apparmor, and closely monitor suspicious containers. Regular audits of container configurations are also recommended to identify any anomalies.

At a glance

What
Runc fails to perform sufficient verification that the source of the bind-mount is actually a real /dev/null inode when using the container's /dev/null to mask
Severity
High (CVSS 7.8)
Affected versions
runc 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2
Fix
runc 1.2.8, 1.3.3 and 1.4.0-rc.3
Status
Published on NVD on 2025-11-06
Action
Immediately update to patched version and verify running containers

Sources: NVD, CVE-2025-31133

← All articles