CVE-2025-52881 in Linuxfoundation Runc
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 possibl...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Linuxfoundation | Runc | 1.4.0 < 1.2.8 ≥ 1.3.0, < 1.3.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-52881 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-269710-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| Published | 2025-11-06 |
| Last modified | 2026-10-07 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-61: CWE-61
CWE-363: CWE-363
Related attack patterns (CAPEC)
CAPEC-27 Leveraging Race Conditions via Symbolic Links via CWE-61
CAPEC-26 Leveraging Race Conditions via CWE-363
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-52881 affects runc versions 1.2.7, 1.3.2, and 1.4.0-rc.2, allowing an attacker to misdirect writes to /proc to other procfs files through shared mounts in a racing container, potentially leading to unauthorized access or system compromise.
An attacker can exploit this vulnerability by creating a container with shared mounts and using a racing condition to misdirect writes to /proc to other procfs files. This can be achieved using a standard Dockerfile with docker buildx build.
Questions
What is CVE-2025-52881?
CVE-2025-52881 affects runc versions 1.2.7, 1.3.2, and 1.4.0-rc.2, allowing an attacker to misdirect writes to /proc to other procfs files through shared mounts in a racing container, potentially leading to unauthorized access or system compromise.
What is the CVSS score for CVE-2025-52881?
CVE-2025-52881 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2025-52881 actively exploited?
No confirmed active exploitation of CVE-2025-52881 as of 2026-10-08.
How do I remediate CVE-2025-52881?
Priority: HIGH.
What systems are affected by CVE-2025-52881?
CVE-2025-52881 affects Linuxfoundation Runc.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"Runc","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-07.