Skip to main content
CVE-2025-52565VulnerabilityPublished

CVE-2025-52565: opencontainers runc · UNIX Symbolic Link (Symlink) Following

Affects opencontainers runcSource CVE Database V5

0

Mentioned vulnerabilities

Not known to be exploited · CVSS 8.4 High · fixed in 1.2.8 : patch opencontainers runc soon.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
8.4High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.2.8
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. Weaponised: 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 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
GitHubopencontainers/runcpkg:github/opencontainers/runcOther threatsAffected–Fixed in–

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

AI-suggested

European organizations should immediately upgrade runc to versions 1.2.8, 1.3.3, or 1.4.0-rc.3 or later to remediate this vulnerability. Beyond patching, implement strict container runtime security policies that limit bind-mount usage and restrict access to sensitive device files such as /dev/pts and /dev/console. Employ container security tools that monitor and enforce least privilege principles, preventing containers from mounting or accessing critical host paths. Use kernel security modules like SELinux or AppArmor to confine container processes and restrict their ability to manipulate /proc filesystem entries. Regularly audit container configurations and runtime parameters for unsafe bind mounts or symlink usage. Incorporate runtime detection tools that can identify anomalous bind-mount operations or attempts to exploit symlink vulnerabilities. For environments with multi-tenant containers, isolate workloads using namespaces and cgroups to minimize the blast radius of potential container escapes. Finally, maintain robust logging and alerting for container runtime events to enable rapid detection and response to exploitation attempts.

Description

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.

References

Community reviews

Loading reviews…