# CVE-2025-47291: containerd CRI plugin: Incorrect cgroup hierarchy assignment for containers running in usernamespaced Kubernetes pods.

Source: https://junglewise.ai/threats/cve-2025-47291-containerd-cri-plugin-incorrect-cgroup-hierarchy-assignment-for  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-05-23  
License: CC BY 4.0 with a link back

CVE-2025-47291 · Severity: medium · CVSS 4 · Published 2025-05-23

Incorrect cgroup assignment for containers running in usernamespaced Kubernetes pods in github.com/containerd/containerd

Technologies: [github.com/containerd/containerd/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-containerd-containerd-v2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-47291 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-47291 being exploited in the wild.

**How severe is CVE-2025-47291?** Medium severity, with a CVSS score of 4, published 23 May 2025.

**Which products and versions are affected?** github.com/containerd/containerd/v2 (Go) SEMVER:introduced=2.0.1,fixed=2.0.5.

**Is there a fix for CVE-2025-47291?** Yes. github.com/containerd/containerd/v2 (Go): upgrade to 2.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-47291?** Check whether you run github.com/containerd/containerd/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/containerd/containerd/v2 (Go): upgrade to 2.0.5 or later

  ```sh
  go get github.com/containerd/containerd/v2@v2.0.5
  ```


## Affected products

- github.com/containerd/containerd/v2 (Go) SEMVER:introduced=2.0.1,fixed=2.0.5

## Identifiers

- CVE-2025-47291
- GHSA-cxfp-7pvr-95ff
- GO-2025-3701

## Related threats

- [containerd layer unpack denial of service via opaque whiteouts](https://junglewise.ai/threats/cve-2026-95838-containerd-unpack-dos-via-repeated-opaque-whiteouts)
- [containerd CRI plugin checkpoint restore privilege bypass](https://junglewise.ai/threats/cve-2026-95837-containerd-cri-plugin-checkpoint-restore-bypasses-destination)
- [Containerd image-pull denial of service via OCI index graph amplification](https://junglewise.ai/threats/cve-2026-53493-containerd-image-pull-denial-of-service-via-oci-index-graph)
- [containerd CRI ExecSync goroutine leak denial of service](https://junglewise.ai/threats/cve-2026-53495-containerd-cri-execsync-goroutine-leak-denial-of-service)
- [containerd CDI annotation smuggling during CRI checkpoint restore](https://junglewise.ai/threats/cve-2026-53492-containerd-cdi-annotation-smuggling-during-cri-checkpoint-restore)
