CVE-2025-52565CWE-363CWE-61

container escape due to /dev/console mount and related races

High · published November 6, 2025

CVSS v4.0
8.4
EPSS
1%
Percentile
46.3
In the wild
Unconfirmed
What it is

⚡ A crafty bind-mount oversight in runc means that a mischief-maker could trick containers into becoming unwitting allies in their chaos! 🔥 Think of it like a restaurant where a waiter mistakenly gives a customer access to the kitchen — suddenly, they can mess with the recipe and serve up something that could send everyone running for the exits! This vulnerability could lead to a denial of service on the host or even a potentially catastrophic container breakout. An attacker could gain access to critical system controls like `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern`, putting your whole environment at risk!

Put simply

Think of it like a restaurant where a waiter mistakenly gives a customer access to the kitchen — suddenly, they can mess with the recipe and serve up something that could send everyone running for the exits! The flaw stems from insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` in runc, allowing an attacker to manipulate paths that should be read-only or masked, creating vulnerabilities in container management.

What to do

This vulnerability could lead to a denial of service on the host or even a potentially catastrophic container breakout. An attacker could gain access to critical system controls like `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern`, putting your whole environment at risk! Upgrade to runc versions 1.2.8, 1.3.3, or 1.4.0-rc.3 immediately to patch this vulnerability. Regularly audit your deployments to ensure these versions are in use and review your container configurations for any potential abuse vectors. 🛡️ You've got this! Take these steps and you'll be well on your way to securing your containers in no time! 💪😊

The record
Technical detail
CVSS v4.0
8.4 · HIGH
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H
EPSS
0.00567 · 46.3th percentile
Weaknesses
CWE-363 · Race Condition Enabling Link Following; CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2025-11-06T20:02Z
EPSS history
Timeline
  • 06 NOV 20:02Z
    container escape due to /dev/console mount and related races
    cvelistv5