CVE Vulnerabilities

CVE-2025-52881

UNIX Symbolic Link (Symlink) Following

Published: Nov 06, 2025 | Modified: Dec 03, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
RuncLinuxfoundation*1.2.8 (excluding)
RuncLinuxfoundation1.3.0 (including)1.3.3 (excluding)
RuncLinuxfoundation1.4.0-rc1 (including)1.4.0-rc1 (including)
RuncLinuxfoundation1.4.0-rc2 (including)1.4.0-rc2 (including)
Red Hat Enterprise Linux 10RedHatpodman-7:5.6.0-6.el10_1*
Red Hat Enterprise Linux 10RedHatrhel10/podman:7:5.6.0-6.el10_1*
Red Hat Enterprise Linux 10RedHatubi10/podman:7:5.6.0-6.el10_1*
Red Hat Enterprise Linux 10RedHatbuildah-2:1.41.6-1.el10_1*
Red Hat Enterprise Linux 10RedHatrhel10/buildah:2:1.41.6-1.el10_1*
Red Hat Enterprise Linux 10RedHatubi10/buildah:2:1.41.6-1.el10_1*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatbuildah-2:1.39.5-1.el10_0*
Red Hat Enterprise Linux 10.0 Extended Update SupportRedHatpodman-6:5.4.0-14.el10_0*
Red Hat Enterprise Linux 8RedHatcontainer-tools:rhel8-8100020251112161627.afee755d*
Red Hat Enterprise Linux 8RedHatcontainer-tools:rhel8-8100020251215152642.afee755d*
Red Hat Enterprise Linux 9RedHatrunc-4:1.2.5-3.el9_6*
Red Hat Enterprise Linux 9RedHatrunc-4:1.3.0-4.el9_7*
Red Hat Enterprise Linux 9RedHatpodman-6:5.6.0-7.el9_7*
Red Hat Enterprise Linux 9RedHatbuildah-2:1.41.6-1.el9_7*
Red Hat Enterprise Linux 9RedHatrhel9/buildah:2:1.41.6-1.el9_7*
Red Hat Enterprise Linux 9RedHatubi9/buildah:2:1.41.6-1.el9_7*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatpodman-4:4.9.4-19.el9_4.5*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatrunc-4:1.2.9-1.el9_4*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatbuildah-2:1.33.13-2.el9_4.1*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatbuildah-2:1.39.5-1.el9_6*
Red Hat Enterprise Linux 9.6 Extended Update SupportRedHatpodman-5:5.4.0-15.el9_6*
Red Hat OpenShift Container Platform 4.12RedHatrunc-4:1.2.9-1.rhaos4.17.el8*
Red Hat OpenShift Container Platform 4.12RedHatrhcos-412.86.202601061735-0*
Red Hat OpenShift Container Platform 4.13RedHatrunc-4:1.2.9-1.rhaos4.16.el8*
Red Hat OpenShift Container Platform 4.13RedHatrhcos-413.92.202511261311-0*
Red Hat OpenShift Container Platform 4.15RedHatrhcos-415.92.202512100122-0*
Red Hat OpenShift Container Platform 4.16RedHatrunc-4:1.2.9-1.rhaos4.16.el8*
Red Hat OpenShift Container Platform 4.16RedHatrhcos-416.94.202511191934-0*
Red Hat OpenShift Container Platform 4.17RedHatrunc-4:1.2.9-1.rhaos4.17.el9*
Red Hat OpenShift Container Platform 4.18RedHatrunc-4:1.2.9-1.rhaos4.18.el8*
Red Hat OpenShift Container Platform 4.18RedHatrhcos-418.94.202511170715-0*
Builds for Red Hat OpenShift 1.6.1RedHatopenshift-builds/openshift-builds-shared-resource-rhel9:sha256:19443e50b74eededc9c6e1f1af4bc54266e394b0a2302fb43893e16790383db6*
Builds for Red Hat OpenShift 1.6.1RedHatopenshift-builds/openshift-builds-shared-resource-webhook-rhel9:sha256:6f72f5426d0b89a62d1b2eed16f24fea26c10679e4bba84c0d09be62f2cc431a*
RuncUbuntuesm-apps/bionic*
RuncUbuntuesm-apps/noble*
RuncUbuntuesm-apps/xenial*
RuncUbuntuesm-infra/focal*
RuncUbuntujammy*
RuncUbuntunoble*
RuncUbuntuplucky*
RuncUbuntuquesting*
RuncUbuntuupstream*
Runc-appUbuntudevel*
Runc-appUbuntuesm-apps/focal*
Runc-appUbuntuesm-apps/jammy*
Runc-appUbuntujammy*
Runc-appUbuntunoble*
Runc-appUbuntuplucky*
Runc-appUbuntuquesting*
Runc-appUbuntuupstream*
Runc-stableUbuntudevel*
Runc-stableUbuntuquesting*
Runc-stableUbuntuupstream*

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