{"cve":"CVE-2023-25809","nvd":{"published":"2023-03-29T19:15:22.170","modified":"2026-06-17T05:42:01.917","status":"Modified","description":"runc is a CLI tool for spawning and running containers according to the OCI specification. In affected versions it was found that rootless runc makes `/sys/fs/cgroup` writable in following conditons: 1. when runc is executed inside the user namespace, and the `config.json` does not specify the cgroup namespace to be unshared (e.g.., `(docker|podman|nerdctl) run --cgroupns=host`, with Rootless Docker/Podman/nerdctl) or 2. when runc is executed outside the user namespace, and `/sys` is mounted with `rbind, ro` (e.g., `runc spec --rootless`; this condition is very rare). A container may gain the write access to user-owned cgroup hierarchy `/sys/fs/cgroup/user.slice/...` on the host . Other users's cgroup hierarchies are not affected. Users are advised to upgrade to version 1.1.5. Users unable to upgrade may unshare the cgroup namespace (`(docker|podman|nerdctl) run --cgroupns=private)`. This is the default behavior of Docker/Podman/nerdctl on cgroup v2 hosts. or add `/sys/fs/cgroup` to `maskedPaths`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","score":6.3},"cwes":["CWE-281"],"references":["https://github.com/opencontainers/runc/commit/0d62b950e60f6980b54fe3bafd9a9c608dc1df17","https://github.com/opencontainers/runc/security/advisories/GHSA-m8cg-xc2p-r3fc","https://github.com/opencontainers/runc/commit/0d62b950e60f6980b54fe3bafd9a9c608dc1df17","https://github.com/opencontainers/runc/security/advisories/GHSA-m8cg-xc2p-r3fc"],"products":["linuxfoundation:runc"],"source":"nvd","synced_at":"2026-10-19T21:37:48.383111019+00:00"},"epss":{"cve":"CVE-2023-25809","score":0.00319,"percentile":0.24908,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-m8cg-xc2p-r3fc","url":"https://osv.dev/vulnerability/GHSA-m8cg-xc2p-r3fc","summary":"rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc","modified":"2026-09-10T03:49:53.094083638Z","packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":["<1.1.5"],"fixed":["1.1.5"]}]},{"id":"GO-2023-1682","url":"https://osv.dev/vulnerability/GO-2023-1682","summary":"Rootless: /sys/fs/cgroup is writable when cgroupns isn't unshared in github.com/opencontainers/runc","modified":"2026-02-04T02:59:23.815900Z","packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":["<1.1.5"],"fixed":["1.1.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}