runc container escape via /dev/console bind-mount race
CVE-2025-52565 is a vulnerability in runc, the OCI container runtime, caused by insufficient validation during the bind-mount of /dev/pts/$n to /dev/console for containers that allocate a console. Affected versions are 1.0.0-rc3 through 1.2.7, 1.3.0-rc.1 through 1.3.2, and 1.4.0-rc.1 through 1.4.0-rc.2. During container initialization, an attacker can exploit a race condition and path redirection/symlink manipulation so that runc bind-mounts an unintended path onto a location writable from inside the container. Because this mount occurs before maskedPaths and readonlyPaths protections are applied, paths that would normally be masked or made read-only can become writable inside the container. The issue occurs after pivot_root(2), so it is not described as a direct host-file overwrite primitive, but it can expose writable procfs targets such as /proc/sysrq-trigger or /proc/sys/kernel/core_pattern inside the container, enabling denial of service or container escape.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
52 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A flaw in runc's handling of /dev/console bind-mounts allows attackers to use symlinks to gain write access to procfs files, leading to container breakout.
A vulnerability in runC that allows container escape via writable access to procfs entries, enabling attackers to break out of Docker and Kubernetes containers.
A vulnerability in runC where /dev/console bind mount can be redirected via race conditions or symlinks, exposing writable access to critical files and enabling container breakout.
High-severity runc race condition affecting the /dev/pts/$n to /dev/console bind-mount ordering that can allow protected host paths to be bind-mounted into the container, enabling host DoS or host privilege escalation (e.g., via core_pattern manipulation).
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.