CVE-2024-25621
github.com/containerd/containerd: containerd local privilege escalation
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 7, 2025
Updated · October 31, 2026
Description
A local privilege escalation vulnerability has been discovered in containerd. This vulnerability is the result of an overly broad default permission which allows local users on the host to potentially access the metadata store, the content store and the contents of Kubernetes local volumes. The contents of volumes might include setuid binaries, which could allow a local user on the host to elevate privileges on the host.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
The system administrator on the host can manually chmod the directories to not have group or world accessible permissions:
chmod 700 /var/lib/containerd
chmod 700 /run/containerd/io.containerd.grpc.v1.cri
chmod 700 /run/containerd/io.containerd.sandbox.controller.v1.shim
An alternative mitigation would be to run containerd in rootless mode.
CVSS / CWE
CVSS 3.1 · 7.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
CWE-279 · Incorrect Execution-Assigned Permissions