Description
containerd is an open source container runtime. On installations using SELinux, such as EL8 (CentOS, RHEL), Fedora, or SUSE MicroOS, with containerd since v1.5.0-beta.0 as the backing container runtime interface (CRI), an unprivileged pod scheduled to the node may bind mount, via hostPath volume, any privileged, regular file on disk for complete read/write access (sans delete). Such is achieved by placing the in-container location of the hostPath volume mount at either `/etc/hosts`, `/etc/hostname`, or `/etc/resolv.conf`. These locations are being relabeled indiscriminately to match the container process-label which effectively elevates permissions for savvy containers that would not normally be able to access privileged host files. This issue has been resolved in version 1.5.9. Users are advised to upgrade as soon as possible.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| containerd | containerd | >= 1.5.0, < 1.5.9 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | containerd | 1.5.9~ds1-1 | — |
| Debian 13 | containerd | 1.5.9~ds1-1 | — |
| Debian 12 | containerd | 1.5.9~ds1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | containerd | 1.5.9-0ubuntu1 | — |
| Ubuntu 20.04 LTS | containerd | 1.5.9-0ubuntu1~20.04.4 | — |
| Ubuntu 18.04 LTS | containerd | 1.5.9-0ubuntu1~18.04.1 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | containerd | No fix yet | — |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | containerd | 1.5.9-r0 | — |
| Alpine v3.23 | containerd | 1.5.9-r0 | — |
| Alpine v3.22 | containerd | 1.5.9-r0 | — |
| Alpine v3.21 | containerd | 1.5.9-r0 | — |
| Alpine v3.20 | containerd | 1.5.9-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | containerd | 1.5.9-r0 | — |
| Alpine v3.18 | containerd | 1.5.9-r0 | — |
| Alpine v3.17 | containerd | 1.5.9-r0 | — |
| Alpine v3.16 | containerd | 1.5.9-r0 | — |
| Alpine v3.15 | containerd | 1.5.9-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/containerd/containerd | >= 1.5.0, < 1.5.9 | 1.5.9 | GHSA-mvff-h3cj-wj9c |
Advisories 1
- WID-SEC-2022-0235 Red Hat Advanced Cluster Management: Mehrere Schwachstellen ermöglichen Privilegieneskalation BSI CERT-Bund (WID) · Oct 8, 2026
References
- https://github.com/containerd/containerd/security/advisories/GHSA-mvff-h3cj-wj9c
- https://github.com/containerd/containerd/issues/6194
- https://github.com/containerd/containerd/commit/a731039238c62be081eb8c31525b988415745eea
- https://github.com/dweomer/containerd/commit/f7f08f0e34fb97392b0d382e58916d6865100299
- FEDORA-2022-f668c3d70d vendor-advisory
- FEDORA-2022-a0b2a4d594 vendor-advisory