{"answers":{"affected":"10 open source packages ship an affected version, including github.com/opencontainers/runc and github.com/opencontainers/selinux. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-52881 in the wild and no public exploit code.","fix":"Upgrade github.com/opencontainers/runc to a fixed version for your release line: 1.2.8, 1.3.3 or 1.4.0-rc.3.","what":"CVE-2025-52881 is a high-severity vulnerability in opencontainers runc, published on 6 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-52881 and fix it if it is affected.\n\nWhat it is: CVE-2025-52881 is a high-severity vulnerability in opencontainers runc, published on 6 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-52881 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.2.8, 1.3.3, 1.4.0-rc.3\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.2.8\n- github.com/opencontainers/runc (Go): affected all versions; fixed in 1.2.8\n- github.com/opencontainers/runc (Go): affected from 1.3.0-rc.1; fixed in 1.3.3\n- github.com/opencontainers/runc (Go): affected from 1.3.0-rc.1; fixed in 1.3.3\n- github.com/opencontainers/runc (Go): affected from 1.4.0-rc.1; fixed in 1.4.0-rc.3\n- github.com/opencontainers/runc (Go): affected from 1.4.0-rc.1; fixed in 1.4.0-rc.3\n- github.com/opencontainers/selinux (Go): affected all versions; fixed in 1.13.0\n- github.com/opencontainers/selinux (Go): affected all versions; fixed in 1.13.0\n- github.com/opencontainers/selinux (Go): affected all versions; fixed in 1.13.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-52881/ (Markdown: https://insights.sbomify.com/CVE-2025-52881/index.md)","id":"CVE-2025-52881","markdown":"https://insights.sbomify.com/CVE-2025-52881/index.md","name":"CVE-2025-52881","record":{"aliases":["ALSA-2025:21220","ALSA-2025:21702","ALSA-2025:23543","AZL-69824","AZL-69826","AZL-70586","BELL-CVE-2025-52881","CLEANSTART-2026-MT88967","CLEANSTART-2026-QO04531","CLEANSTART-2026-RA97554","CLEANSTART-2026-RD73080","CLSA-2025-1766050574","DEBIAN-CVE-2025-52881","ECHO-4e92-dcc8-abdf","GHSA-cgrx-mc8f-2prm","GO-2025-4098","MINI-227j-4f5c-gw3h","MINI-27fc-vm57-3wff","MINI-2prg-2fwp-hmhr","MINI-379r-vmp5-828w","MINI-3ch9-64mf-2mrc","MINI-3mj7-h29w-ph56","MINI-3w7g-cv64-6vm2","MINI-56c9-8fv4-mwj2","MINI-5jg6-mrjv-p8jp","MINI-5x66-34qq-q22q","MINI-6288-6r3g-7j2r","MINI-697q-h9mm-m7hm","MINI-6r3c-p8gp-qrmr","MINI-6xj5-vgr2-c8gh","MINI-77px-vm35-4v4h","MINI-7hv2-v256-vxcv","MINI-7r2r-9cgr-4vf9","MINI-833m-q65x-r4qj","MINI-982f-rx2p-gfgj","MINI-c2m5-p76g-9q4v","MINI-c2mm-v9xp-6rx3","MINI-cfhf-jvvg-788g","MINI-chhh-hw5w-fj5m","MINI-cqx6-v6mf-2hfm","MINI-h5vc-6wr2-r8rv","MINI-hg5x-5qvv-mhr6","MINI-hp4q-52mg-xv5f","MINI-hw8r-33rf-j9j3","MINI-jm25-455j-68gv","MINI-jv7r-m6w8-9c96","MINI-m283-2mf8-vfh5","MINI-mrrm-454c-475x","MINI-p538-r5f6-px33","MINI-p9fx-3462-476f","MINI-qf85-r74g-4wpg","MINI-rjhc-m36h-435j","MINI-rr5q-f4p2-96fv","MINI-v3x8-4fcc-38rr","MINI-vf9g-3x39-mpx7","MINI-vh7x-r6jp-jx5f","MINI-wrgr-hhrm-2w9p","MINI-x8vj-wf8m-q2jc","MINI-xh58-xccr-83vj","RHSA-2025:21220","RHSA-2025:21633","RHSA-2025:21634","RHSA-2025:21702","RHSA-2025:23543","RHSA-2026:2975","RLSA-2025:21220","RLSA-2025:21702","RLSA-2025:23543","SUSE-SU-2025:4074-1","SUSE-SU-2025:4075-1","SUSE-SU-2025:4076-1","UBUNTU-CVE-2025-52881","openSUSE-SU-2025:15721-1","openSUSE-SU-2025:15843-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OCI container runtime","requires_auth":"low_privilege","summary":"Attackers can bypass LSM security labels in runc by misdirecting procfs writes via race conditions, requiring an upgrade to patched versions.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"runc","vendor":"linuxfoundation"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"},{"id":"CWE-363","name":"Race Condition Enabling Link Following"}],"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Go","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:openshift:4.18::el9","Red Hat:rhel_eus:9.6::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS","SUSE:Linux Enterprise Module for Containers 15 SP6","SUSE:Linux Enterprise Module for Containers 15 SP7","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP5-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Server for SAP Applications 15 SP5","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-11-11","github_poc":1,"max_poc_stars":14,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-11T17:40:20Z","kind":"github_poc","ref":"https://github.com/jq6l43d1/proxmox-lxc-docker-fix","stars":14,"title":"Workaround for CVE-2025-52881: Fixes Docker/Podman breakage in Proxmox LXC containers caused by AppArmor incompatibility with runc 1.2.7+. Universal wrapper for community-scripts with automatic AppArmor configuration."}],"tier":"poc_unverified"},"has_fix":true,"headline":"runc: LSM labels can be bypassed with malicious config using dummy procfs files","id":"CVE-2025-52881","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"security_feature_bypass","year":"2025"},"n_packages":345,"n_references":20,"next":{"headline":"Claude Code IDE extensions allow websocket connections from arbitrary origins","id":"CVE-2025-52882"},"packages":[{"ecosystem":"Go","fixed":["1.2.8","1.3.3","1.4.0-rc.3"],"introduced":["0","1.3.0-rc.1","1.4.0-rc.1"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GO-2025-4098"},{"ecosystem":"Go","fixed":["1.2.8"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":null,"source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.2.8"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["1.3.0-rc.1"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":null,"source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.3.3"],"introduced":["1.3.0-rc.1"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.4.0-rc.3"],"introduced":["1.4.0-rc.1"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":null,"source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.4.0-rc.3"],"introduced":["1.4.0-rc.1"],"last_affected":[],"package":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/selinux","purl":null,"source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/selinux","purl":"pkg:golang/github.com/opencontainers/selinux","source":"GHSA-cgrx-mc8f-2prm"},{"ecosystem":"Go","fixed":["1.13.0"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/selinux","purl":"pkg:golang/github.com/opencontainers/selinux","source":"GO-2025-4098"},{"ecosystem":"AlmaLinux:10","fixed":["7:5.6.0-6.el10_1"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/almalinux/podman-docker","source":"ALSA-2025:21220"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+4023+db236c53"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+4047+545787c4"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.10.1-2.module_el8.10.0+4089+ce72bbbe"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.33.13-1.module_el8.10.0+4082+f7f0c95e"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.33.13-1.module_el8.10.0+4089+ce72bbbe"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.33.13-1.module_el8.10.0+4089+ce72bbbe"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["84.1-1.module_el8.10.0+4016+efd18bf8"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.10-1.module_el8.10.0+3970+8445edf6"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3:2.1.10-1.module_el8.10.0+4068+0e21408f"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.4.0-6.module_el8.10.0+4016+efd18bf8"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.4.0-6.module_el8.10.0+4047+545787c4"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.4.0-6.module_el8.10.0+4068+0e21408f"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-82.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-82.module_el8.10.0+3901+4b80ecd7"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-82.module_el8.10.0+4047+545787c4"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-82.module_el8.10.0+4089+ce72bbbe"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3845+87b84552"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3858+6ad51f9f"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3901+4b80ecd7"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+4068+0e21408f"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3876+e55593a8"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3909+6e1c1eb7"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3926+f12484f5"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+4089+ce72bbbe"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+3858+6ad51f9f"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+4016+efd18bf8"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2025:23543"},{"ecosystem":"AlmaLinux:8","fixed":["3.18-5.module_el8.10.0+4068+0e21408f"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2025:23543"}],"prev":{"headline":"Komga Vulnerable to Arbitrary Code Execution via Crafted EPUB File","id":"CVE-2025-52880"},"products":["runc"],"published":"2025-11-06","related":[{"cvss_score":8.4,"headline":"container escape due to /dev/console mount and related races","id":"CVE-2025-52565","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":7.3,"headline":"runc container escape via \"masked path\" abuse due to mount race conditions","id":"CVE-2025-31133","kev_date_added":null,"published":"2025-11-06"},{"cvss_score":6.1,"headline":"AppArmor bypass with symlinked /proc in runc","id":"CVE-2023-28642","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":5,"headline":"rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc","id":"CVE-2023-25809","kev_date_added":null,"published":"2023-03-29"},{"cvss_score":3.6,"headline":"runc can be confused to create empty files/directories on the host","id":"CVE-2024-45310","kev_date_added":null,"published":"2024-09-03"},{"cvss_score":3.3,"headline":"runc: Malicious image with /dev symlink can trigger limited host filesystem integrity violations","id":"CVE-2026-41579","kev_date_added":null,"published":"2026-07-01"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-06","vendors":["opencontainers"]},"summary":"Attackers can bypass LSM security labels in runc by misdirecting procfs writes via race conditions, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2025-52881/"}