CVE Vulnerabilities

CVE-2025-52881

UNIX Symbolic Link (Symlink) Following

Published: Nov 06, 2025 | Modified: Nov 12, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
8.2 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Ubuntu
HIGH

runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts (we have also verified this attack is possible to exploit using a standard Dockerfile with docker buildx build as that also permits triggering parallel execution of containers with custom shared mounts configured). This redirect could be through symbolic links in a tmpfs or theoretically other methods such as regular bind-mounts. While similar, the mitigation applied for the related CVE, CVE-2019-19921, was fairly limited and effectively only caused runc to verify that when LSM labels are written they are actually procfs files. This issue is fixed in versions 1.2.8, 1.3.3, and 1.4.0-rc.3.

Weakness

The product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 10 RedHat podman-7:5.6.0-6.el10_1 *
Red Hat Enterprise Linux 10 RedHat buildah-2:1.41.6-1.el10_1 *
Red Hat Enterprise Linux 10.0 Extended Update Support RedHat buildah-2:1.39.5-1.el10_0 *
Red Hat Enterprise Linux 8 RedHat container-tools:rhel8-8100020251112161627.afee755d *
Red Hat Enterprise Linux 9 RedHat runc-4:1.2.5-3.el9_6 *
Red Hat Enterprise Linux 9 RedHat runc-4:1.3.0-4.el9_7 *
Red Hat Enterprise Linux 9 RedHat podman-6:5.6.0-7.el9_7 *
Red Hat Enterprise Linux 9 RedHat buildah-2:1.41.6-1.el9_7 *
Red Hat Enterprise Linux 9.6 Extended Update Support RedHat buildah-2:1.39.5-1.el9_6 *
Red Hat Enterprise Linux 9.6 Extended Update Support RedHat podman-5:5.4.0-15.el9_6 *
Red Hat OpenShift Container Platform 4 RedHat containernetworking-plugins *
Red Hat OpenShift Container Platform 4 RedHat cri-o *
Red Hat OpenShift Container Platform 4 RedHat cri-tools *
Red Hat OpenShift Container Platform 4 RedHat kernel *
Red Hat OpenShift Container Platform 4 RedHat kernel-rt *
Red Hat OpenShift Container Platform 4 RedHat runc *
Red Hat OpenShift Container Platform 4 RedHat skopeo *
Red Hat OpenShift Container Platform 4.16 RedHat rhcos-416.94.202511191934-0 *
Red Hat OpenShift Container Platform 4.18 RedHat rhcos-418.94.202511170715-0 *
Runc Ubuntu esm-apps/bionic *
Runc Ubuntu esm-apps/noble *
Runc Ubuntu esm-apps/xenial *
Runc Ubuntu esm-infra/focal *
Runc Ubuntu jammy *
Runc Ubuntu noble *
Runc Ubuntu plucky *
Runc Ubuntu questing *
Runc Ubuntu upstream *
Runc-app Ubuntu devel *
Runc-app Ubuntu esm-apps/focal *
Runc-app Ubuntu esm-apps/jammy *
Runc-app Ubuntu jammy *
Runc-app Ubuntu noble *
Runc-app Ubuntu plucky *
Runc-app Ubuntu questing *
Runc-app Ubuntu upstream *
Runc-stable Ubuntu devel *
Runc-stable Ubuntu questing *
Runc-stable Ubuntu upstream *

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References