CVE-2025-52881: runc container escape via procfs write redirection
- Vendor
- Linux Foundation
CVE-2025-52881 is a link-resolution and mount-race vulnerability in runc that allows an attacker to redirect runtime writes to unintended procfs files. A concurrently running container with shared mounts can manipulate path resolution, including through symbolic links in tmpfs, while runc performs writes such as Linux Security Module (LSM) process-label updates. Earlier hardening verified that label-write destinations belonged to procfs but did not ensure that they were the intended procfs files. Exploitation can bypass LSM labeling, cause host denial of service, or enable container escape. Affected versions include runc 1.2.7, 1.3.2, and 1.4.0-rc.2.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Redirected writes execute with the container runtime's privileges and can modify sensitive procfs interfaces outside the intended container security boundary. Successful exploitation can prevent correct LSM labeling, undermine AppArmor or SELinux confinement, disrupt the host, and enable container escape with host-level privilege impact. Label bypass can also weaken defenses against related runc vulnerabilities, including CVE-2025-31133 and CVE-2025-52565. Rootless operation substantially reduces the impact by limiting the runtime's ability to write to privileged procfs interfaces.
Mitigation
If you can’t patch tonight, do this now.
Prefer rootless containers: reduced runtime privileges block most dangerous redirected procfs writes, although this is not a substitute for patching. Avoid running untrusted container images or accepting unverified container-build inputs. Do not rely on AppArmor or SELinux alone; neither fully protects against the broader redirected-write attack, and the vulnerability can bypass LSM labeling.
Remediation
Patch, then assume compromise.
Upgrade runc to 1.2.8, 1.3.3, or 1.4.0-rc.3, or a later fixed release on the applicable branch. Unsupported 1.1.x and older branches were not patched and should be replaced with a supported release. For downstream products, install the vendor's corrected runtime packages or platform release, accounting for backported fixes rather than relying solely on the upstream version number. Where applicable to downstream builds, apply the associated patchset and update the opencontainers/selinux dependency to version 1.13.0 or later. Replace or upgrade container-host nodes and runtime images where required to activate the corrected runtime.
Exploits
No validated public exploits yet. Hidden: 4 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-52881 exploited in the wild?
- As of Nov 26, 2026, Mallory has no reports of CVE-2025-52881 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-52881?
- Yes. As of Nov 26, 2026, Mallory has reports of a public exploit for CVE-2025-52881.
- Is there a patch for CVE-2025-52881?
- Upgrade runc to 1.2.8, 1.3.3, or 1.4.0-rc.3, or a later fixed release on the applicable branch. Unsupported 1.1.x and older branches were not patched and should be replaced with a supported release.
- What products are affected by CVE-2025-52881?
- Linux Foundation Runc.
- How severe is CVE-2025-52881?
- CVE-2025-52881 has a CVSS v4 score of 7.3 (High) and an EPSS score of 0.80% (54th percentile) as of Nov 26, 2026.
Recent activity
105 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.