Skip to main content
VulnerabilityPublished Updated

CVE-2025-52565: github.com/opencontainers/runc · runc container escape with malicious config due to /dev/console mount and related races

Affects github.com/opencontainers/runcSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-52565· High 8.4

Not known to be exploited · CVSS 8.4 High : upgrade to 1.2.8 soon.

Data as of 13 Nov 2026, 20:09 UTC

CVSS 4.0 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.4
Patch
Available – fixed in 1.2.8, 1.3.3, 1.4.0-rc.3
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade github.com/opencontainers/runc to 1.2.8; github.com/opencontainers/runc to 1.3.3; github.com/opencontainers/runc to 1.4.0-rc.3.

Affected software

ProductAffectedFixed in
Gogithub.com/opencontainers/runcAffected
  • >=1.0.0-rc3 <1.2.8
Fixed in
  • 1.2.8
Gogithub.com/opencontainers/runcAffected
  • >=1.3.0-rc.1 <1.3.3
Fixed in
  • 1.3.3
Gogithub.com/opencontainers/runcAffected
  • >=1.4.0-rc.1 <1.4.0-rc.3
Fixed in
  • 1.4.0-rc.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available and should be applied by upgrading runc to versions 1.2.8, 1.3.3, or 1.4.0-rc.3 or later. These versions include fixes that properly validate bind-mounts of /dev/pts/$n to /dev/console and address related race conditions and unsafe file operations. No additional mitigation steps are indicated beyond applying the official patches.

Description

CVE-2025-52565 is a high-severity vulnerability in runc (versions >=1.0.0-rc3 <1.2.8, >=1.3.0-rc.1 <1.3.3, and >=1.4.0-rc.1 <1.4.0-rc.3) involving improper bind-mounting of /dev/pts/$n to /dev/console inside containers. This allows an attacker to gain write access to sensitive files like /proc/sysrq-trigger or /proc/sys/kernel/core_pattern, potentially causing denial of service or container breakout. The issue arises because the /dev/console bind-mount occurs before readonly and masked paths are applied. Additional related issues include risky use of os.Create and race conditions in pseudo-terminal handling, which have been addressed in the patches. Fixes are available in runc versions 1.2.8, 1.3.3, and 1.4.0-rc.3.

References

Community reviews

Loading reviews…