CVE-2025-47291 containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.
Attackers can cause denial of service on Kubernetes nodes by exploiting incorrect cgroup assignments in usernamespaced containers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-47291?
CVE-2025-47291 is a medium-severity vulnerability in containerd, published on 21 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
containerd is an open-source container runtime. A bug was found in the containerd's CRI implementation where containerd, starting in version 2.0.1 and prior to version 2.0.5, doesn't put usernamespaced containers under the Kubernetes' cgroup hierarchy, therefore some Kubernetes limits are not honored. This may cause a denial of service of the Kubernetes node. This bug has been fixed in containerd 2.0.5+ and 2.1.0+. Users should update to these versions to resolve the issue. As a workaround, disable usernamespaced pods in Kubernetes temporarily.
Weakness: CWE-266
Which versions are affected by CVE-2025-47291?
3 open source packages ship an affected version, including github.com/containerd/containerd/v2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/containerd/containerd/v2 Go | From 2.0.1 | 2.0.5 |
github.com/containerd/containerd/v2 Go | From 2.0.1 | 2.0.5 |
github.com/containerd/containerd/v2 Go | From 2.0.1 | 2.0.5 |
Products include Linuxfoundation Containerd.
How do I fix CVE-2025-47291?
Upgrade github.com/containerd/containerd/v2 to 2.0.5 or later.
Is CVE-2025-47291 being exploited?
There is no known exploitation of CVE-2025-47291 in the wild and no public exploit code.
Other vulnerabilities in containerd
- CVE-2026-53488 containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull
- CVE-2026-53492 containerd CRI checkpoint restore CDI annotation smuggling
- CVE-2026-53489 containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore
- CVE-2025-47290 Containerd vulnerable to host filesystem access during image unpack
- CVE-2026-46680 containerd user ID handling bypass allows runAsNonRoot evasion
Sources
Also known as AZL-62003, GHSA-cxfp-7pvr-95ff, GO-2025-3701, MINI-mr8c-4jmc-7x8w, UBUNTU-CVE-2025-47291.