CVE-2023-25809
rootless: `/sys/fs/cgroup` is writable when cgroupns isn't unshared in runc
Record from NVD · Published March 29, 2023
github.com/opencontainers/runc/libcontainer is fixed in 1.1.5 (Go Modules)
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`.
EPSS 0.32% · 25.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/opencontainers/runc/libcontainer | Go Modules | 1.1.5 |
| github.com/opencontainers/runc | Go Modules | v1.1.5, 1.1.5 |
| runc | Amazon Linux | 1.1.5-1.amzn2023.0.1 |
| ctop | Wolfi | 0.7.7-r13 |
| podman | Wolfi | 5.2.2-r1 |
| ctop | Chainguard | 0.7.7-r13 |
| podman | Chainguard | 5.2.2-r1 |
| runc | Alpine | 1.1.5-r0, 1.1.4-r0 |
| runc | linuxfoundation | 1.1.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | runc | 0 |
Timeline
- Mar 29, 2023 CVE Published
- Mar 30, 2023 EPSS Score (30 in total, the first dated here)
- Nov 27, 2025 CVE Updated
- Feb 19, 2026 Security Advisory (13 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-25809
vulnetix vdb fixes CVE-2023-25809
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-25809/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart