CVE-2025-52565: container escape due to /dev/console mount and related races
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
runc is a CLI tool for spawning and running containers according to the OCI specification. Versions 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, due to insufficient checks when bind-mounting `/dev/pts/$n` to `/dev/console` inside the container, an attacker can trick runc into bind-mounting paths which would normally be made read-only or be masked onto a path that the attacker can write to. This attack is very similar in concept and application to CVE-2025-31133, except that it attacks a similar vulnerability in a different target (namely, the bind-mount of `/dev/pts/$n` to `/dev/console` as configured for all containers that allocate a console). This happens after `pivot_root(2)`, so this cannot be used to write to host files directly -- however, as with CVE-2025-31133, this can load to denial of service of the host or a container breakout by providing the attacker with a writable copy of `/proc/sysrq-trigger` or `/proc/sys/kernel/core_pattern` (respectively). This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.
Description quoted from the CVE record (assigned by GitHub_M, published 2025-11-06).
Weakness: CWE-61: UNIX Symbolic Link (Symlink) Following; CWE-363: Race Condition Enabling Link Following
How it can be exploited
Exploitable with local access with low attack complexity with no special attack requirements needing no privileges and a user must take an action. Impact: confidentiality none, integrity high, availability none. 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
CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Also known as: BDU:2025-14042, CNNVD-202511-495, EUVD-2025-37944, GHSA-9493-h29p-rfm2, GHSA-cgrx-mc8f-2prm, GHSA-qw9x-cqr3-wc7r
VEDAS cluster: VEDAS:BEASTVENGEANCE
Exploit Observer has no public exploit code that names this CVE or one of its aliases.
Vulnerability databases and vendor advisories (14)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://access.redhat.com/security/cve/cve-2025-52565
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-37944
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-9493-h29p-rfm2
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-cgrx-mc8f-2prm
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-qw9x-cqr3-wc7r
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-52565
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-9493-h29p-rfm2
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-cgrx-mc8f-2prm
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-qw9x-cqr3-wc7r
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/UBUNTU-CVE-2025-52565
- Vulnerability database or vendor advisory: https://security-tracker.debian.org/tracker/CVE-2025-52565
- Vulnerability database or vendor advisory: https://ubuntu.com/security/CVE-2025-52565
- and 2 more
121 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.008
low predicted chance of attack - VEDAS
- 0.917
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Out of scope (local)
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| opencontainers runc | version >= 1.0.0-rc3, < 1.2.8 version >= 1.3.0-rc.1, < 1.3.3 version >= 1.4.0-rc.1, < 1.4.0-rc.3 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: linuxfoundation runc, ао_«нтц_ит_роса» роса_хром, ооо_«ред_софт» ред_ос, ооо_«русбитех-астра» платформа_контейнеризации_«боцман», сообщество_свободного_программного_обеспечения runc.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
This bug needs local access to exploit. VEDAS signatures cover remotely exploitable bugs for now, so there is no network rule or remote check for it. Patch it and watch your endpoint telemetry for unusual local activity.
Advisories on this CVE
- runc container escapes (CVE-2025-31133 / -52565 / -52881) (November 2025)
References
Other references
- https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r (x_refsource_CONFIRM)
- https://github.com/opencontainers/runc/commit/01de9d65dc72f67b256ef03f9bfb795a2bf143b4 (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/398955bccb7f20565c224a3064d331c19e422398 (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/531ef794e4ecd628006a865ad334a048ee2b4b2e (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/9be1dbf4ac67d9840a043ebd2df5c68f36705d1d (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/aee7d3fe355dd02939d44155e308ea0052e0d53a (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64 (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/de87203e625cd7a27141fb5f2ad00a320c69c5e8 (x_refsource_MISC)
- https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b763458e480 (x_refsource_MISC)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.