# CVE-2024-25621: containerd affected by a local privilege escalation via wide permissions on CRI directory

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-11-06T15:12:08.000Z
- Modified: 2026-11-08T20:10:00.187Z
- Also known as: GHSA-pwhc-rpq9-4c8w, GO-2025-4100
- Related: CGA-xqcg-j7rr-43xj
- Weaknesses: CWE-279
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

containerd is an open-source container runtime. Versions 0.1.0 through 1.7.28, 2.0.0-beta.0 through 2.0.6, 2.1.0-beta.0 through 2.1.4 and 2.2.0-beta.0 through 2.2.0-rc.1 have an overly broad default permission vulnerability. Directory paths `/var/lib/containerd`, `/run/containerd/io.containerd.grpc.v1.cri` and `/run/containerd/io.containerd.sandbox.controller.v1.shim` were all created with incorrect permissions. This issue is fixed in versions 1.7.29, 2.0.7, 2.1.5 and 2.2.0. Workarounds include updating system administrator permissions so the host can manually chmod the directories to not have group or world accessible permissions, or to run containerd in rootless mode.

(As written by CVE List.)

## Affected

- containerd containerd: < 1.7.29; >= 2.0.0-beta.0, < 2.0.7; >= 2.1.0-beta.0, < 2.1.5; >= 2.2.0-beta.0, < 2.2.0
- github.com/containerd/containerd (Go): before 1.7.29
- github.com/containerd/containerd/v2 (Go): before 2.0.7; from 2.1.0-beta.0 before 2.1.5; from 2.2.0-beta.0 before 2.2.0
- linuxfoundation containerd: before 1.7.29; from 2.0.0 before 2.0.7; from 2.1.0 before 2.1.5; 2.2.0

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/containerd/containerd/security/advisories/GHSA-pwhc-rpq9-4c8w> (advisory, patch, vendor-advisory, web)
- <https://github.com/containerd/containerd/commit/7c59e8e9e970d38061a77b586b23655c352bfec5> (fix, patch, web)
- <https://github.com/containerd/containerd/blob/main/docs/rootless.md> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25621> (advisory)
- <https://github.com/containerd/containerd> (package)

## Sources

- CVE List: [CVE-2024-25621](https://www.cve.org/CVERecord?id=CVE-2024-25621), CVE Terms of Use, modified 2025-11-06
- GitHub Advisory Database: [GHSA-pwhc-rpq9-4c8w](https://github.com/advisories/GHSA-pwhc-rpq9-4c8w), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-4100](https://pkg.go.dev/vuln/GO-2025-4100), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-25621](https://nvd.nist.gov/vuln/detail/CVE-2024-25621), Public domain, modified 2026-11-08

---

Page: https://cve.day/CVE-2024-25621 · Whole record: https://cve.day/CVE-2024-25621.json · Rebuilt by cve.day 2026-11-25T22:58:52.906Z
