Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
8.4
runc versions allow unauthorized file writes via container race
published 13 days ago
Summary
Docker images that use runc versions 1.2.7, 1.3.2, or 1.4.0‑rc.2 can be tricked into writing to unintended system files during a race condition with shared mounts. This could let an attacker modify files in the host's /proc filesystem. Upgrade the affected Docker images to use runc 1.2.8, 1.3.3, or 1.4.0‑rc.3 to eliminate the risk.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-1.33-dev | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-1.33-fips-dev | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-1.33-fips | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-1.33 | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-dev | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-fips-dev | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl-fips | All versions |
| Docker Hardened Images:Alpine:3.23 | docker hardened images | kubectl | All versions |
Original advisory text
runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and…
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.
References
- https://scout.docker.com/v/DHI-bcms-r5cr-cd7j-akht Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-52881 Vendor Advisory
- https://github.com/opencontainers/runc/security/advisories/GHSA-qw9x-cqr3-wc7r Vendor Advisory
- https://github.com/opencontainers/runc/security/advisories/GHSA-cgrx-mc8f-2prm Vendor Advisory
- https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2 Vendor Advisory
- https://github.com/opencontainers/runc/commit/ff94f9991bd32076c871ef0ad8bc1b7634... Patch
- https://github.com/opencontainers/runc/commit/ff6fe1324663538167eca8b3d3eec61e1b... Patch
- https://github.com/opencontainers/runc/commit/ed6b1693b8b3ae7eb0250a7e76fc888cda... Patch
- https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f9019... Patch
- https://github.com/opencontainers/runc/commit/d61fd29d854b416feaaf128bf650325cd2... Patch
- https://github.com/opencontainers/runc/commit/d40b3439a9614a86e87b81a94c6811ec6f... Patch
- https://github.com/opencontainers/runc/commit/b3dd1bc562ed9996d1a0f249e056c16624... Patch
- https://github.com/opencontainers/runc/commit/77d217c7c3775d8ca5af89e477e81568ef... Patch
- https://github.com/opencontainers/runc/commit/77889b56db939c323d29d1130f28f9aea2... Patch
- https://github.com/opencontainers/runc/commit/6fc191449109ea14bb7d61238f24a33fe0... Patch
- https://github.com/opencontainers/runc/commit/4b37cd93f86e72feac866442988b549b5b... Patch
- https://github.com/opencontainers/runc/commit/44a0fcf685db051c80b8c269812bb177f5... Patch
- https://github.com/opencontainers/runc/commit/435cc81be6b79cdec73b4002c0dae549b2... Patch
- https://github.com/opencontainers/runc/commit/3f925525b44d247e390e529e772a0dc0c0... Patch
- https://github.com/opencontainers/runc/blob/v1.4.0-rc.2/RELEASES.md Patch
- http://github.com/opencontainers/runc/commit/fdcc9d3cad2f85954a241ccb910a61aaa1e... Patch
- http://github.com/opencontainers/runc/commit/a41366e74080fa9f26a2cd3544e28014496... Patch
- https://errata.almalinux.org/9/ALSA-2025-19927.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2025:19927 Vendor Advisory
- https://errata.almalinux.org/9/ALSA-2025-20957.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2025:20957 Vendor Advisory
- https://errata.almalinux.org/8/ALSA-2025-21232.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2025:21232 Vendor Advisory
- https://errata.almalinux.org/9/ALSA-2025-21702.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2025:21702 Vendor Advisory
- https://errata.almalinux.org/9/ALSA-2025-22011.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2025:22011 Vendor Advisory
- https://errata.almalinux.org/8/ALSA-2025-23543.html Vendor Advisory
- https://access.redhat.com/errata/RHSA-2025:23543 Vendor Advisory
- https://security.alpinelinux.org/vuln/CVE-2025-52881 Vendor Advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2025-1286.html Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61725 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61724 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61723 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58189 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58188 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58187 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58186 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58185 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-58183 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-52881 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-52565 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-47912 Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-31133 Vendor Advisory
- https://security-tracker.debian.org/tracker/CVE-2025-52881 Vendor Advisory
- https://github.com/advisories/GHSA-cgrx-mc8f-2prm Vendor Advisory
- https://github.com/opencontainers/runc/security/advisories/GHSA-fh74-hm69-rqjw Vendor Advisory
- https://github.com/opencontainers/selinux/pull/237 Patch
- https://github.com/opencontainers/runc/commit/fdcc9d3cad2f85954a241ccb910a61aaa1... Patch
- https://github.com/opencontainers/runc/commit/a41366e74080fa9f26a2cd3544e2801449... Patch
- https://github.com/opencontainers/selinux/releases/tag/v1.13.0 URL
- https://pkg.go.dev/vuln/GO-2025-4098 Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-19927.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-19927.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-20957.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-20957.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-21220.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-21220.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-21232.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-21232.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-21702.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-21702.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-22011.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-22011.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-22012.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-22012.html Vendor Advisory
- https://linux.oracle.com/cve/ELSA-2025-23543.html Vendor Advisory
- https://linux.oracle.com/errata/ELSA-2025-23543.html Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2025-52881 Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2025-52881 Patch
- https://errata.rockylinux.org/RLSA-2025:20957 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2025:21220 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2025:21232 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2025:21702 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2025:22011 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2025:22012 Vendor Advisory
- https://errata.rockylinux.org/RLSA-2025:23543 Vendor Advisory
- https://ubuntu.com/security/CVE-2025-52881 Vendor Advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2025-52881 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker full control (estimated)
Timeline
Published13 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-bcms-r5cr-cd7j-akht · OSV
Track software like this
Free during beta