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

> Local attackers can escalate privileges due to overly broad default permissions on containerd runtime directories.

- **Severity:** High 7.3 (`CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 6 Nov 2025
- **Updated:** 6 Nov 2025
- **Also known as:** AZL-69734, AZL-69808, AZL-69812, AZL-69815, BELL-CVE-2024-25621, CLEANSTART-2026-EF16612, CLEANSTART-2026-VS01859, DEBIAN-CVE-2024-25621, DSA-6067-1, GHSA-pwhc-rpq9-4c8w, GO-2025-4100, MINI-23f5-26mc-fv6f, MINI-285p-j5fv-fxpv, MINI-2f24-34g3-jrw4, MINI-2jcg-3pc5-cmvq, MINI-2qm8-6q7p-r36p, MINI-32f5-3hcr-jwjf, MINI-344p-x82f-v4p9, MINI-34f3-p4w5-rccw, MINI-3cp8-j3xr-mhcx, MINI-3h98-qfhm-4q68, MINI-3jjg-4hr3-w2x4, MINI-3jrr-wgcr-m95q, MINI-3q4w-mc55-7v5m, MINI-3r38-hq6x-g676, MINI-3r83-h8fh-pxq3, MINI-3xfv-89qq-wj2j, MINI-3xq2-jq8x-75vc, MINI-43mh-p449-5275, MINI-474j-47px-xpcq, MINI-47jg-9gpg-m242, MINI-4cpq-9rh3-fmv5, MINI-4fhc-xhfj-c8h9, MINI-4g85-p2c3-h9r6, MINI-4q89-j2pr-gwp4, MINI-55q2-fx23-qc3r, MINI-56hp-p62h-w8fx, MINI-5hq6-9hh7-v3qf, MINI-5m45-46cj-wrrj, MINI-5mcc-c6f2-wjrg, MINI-5pjp-88j9-rrvr, MINI-5r3h-v7v6-v8fq, MINI-5rj9-g5jr-q522, MINI-6467-7qp7-qhqh, MINI-648p-r555-wv47, MINI-65rq-rx28-w229, MINI-6gmj-vx28-38cp, MINI-6pmr-pvj5-4v32, MINI-6r3q-hpj4-gr2w, MINI-74fj-6667-853g, MINI-76v5-6c8q-rfp4, MINI-7hm3-x7x7-m4rq, MINI-7p3f-35w6-j2qc, MINI-7w97-9q4r-4g9g, MINI-7wmf-g2hf-j77r, MINI-85x2-4p8r-68hp, MINI-87r8-x85c-fv9p, MINI-8c34-vvjj-6m56, MINI-8grw-mphc-rrvp, MINI-8qvx-6vc3-vrvm, MINI-8r4f-mf49-2vcg, MINI-8x4h-f3j2-fmmv, MINI-927m-wqqw-w3q9, MINI-93gj-4vjr-29pv, MINI-9c69-frh7-2296, MINI-9f55-j5wh-rjxj, MINI-9j4m-3cwg-w7p9, MINI-9m6r-w98f-6hp3, MINI-9p82-qx9r-j99m, MINI-9pgj-8w6c-gq8p, MINI-9r37-q346-g27r, MINI-9v5x-q4cm-wq5v, MINI-9vwj-vhhq-jvx8, MINI-9vxp-mhph-c963, MINI-c2m3-5crq-m4mq, MINI-c4c4-xpfr-wwjw, MINI-c6vh-8j7j-hj8p, MINI-c9jj-hqx8-935m, MINI-cqhq-fhv9-gc46, MINI-f7r6-p8fp-h4cc, MINI-f9rr-c4mj-8hw4, MINI-fhvr-p56f-g98w, MINI-fjjj-gqph-h9x4, MINI-fmcg-w85g-883r, MINI-g268-5fm9-2hhh, MINI-g5fr-wfrm-vfgc, MINI-g5xq-8538-cf84, MINI-g7w7-8f8m-3f5x, MINI-gj4f-mjp4-3w3q, MINI-gm7j-h6hw-wppm, MINI-gv4x-qgr9-cg68, MINI-h3mj-gj3h-fx6q, MINI-h5q9-x6vq-m3mv, MINI-h6g8-9cpq-4gjw, MINI-h873-x454-f73x, MINI-hj6p-pfpm-4443, MINI-j3pr-3w73-vgr5, MINI-j726-4vhr-96w4, MINI-jgw6-4c8w-7qj8, MINI-jp3f-6g5p-x8jr, MINI-jr2j-6r83-5rw3, MINI-jvg5-gg48-5636, MINI-jwfw-gfv4-c5rp, MINI-m27h-m8vm-p3qf, MINI-m5qh-rm3q-cf8r, MINI-m784-24mj-5v4x, MINI-m8hj-742r-m288, MINI-mcmm-gj9q-99xg, MINI-mfr9-8284-cp78, MINI-mfvq-2g2h-84gh, MINI-mg6p-6p33-f2hq, MINI-mvqc-vjpj-g38f, MINI-mwx7-67m6-c4gq, MINI-mxjf-7jf9-3frm, MINI-mxqv-84gv-47q3, MINI-p274-9w84-gpcc, MINI-p9jc-rfr3-867c, MINI-pf3h-8gmj-qf75, MINI-pgm7-2xfc-3c2p, MINI-pr3c-6qf2-g7f2, MINI-pr92-vqg2-x87r, MINI-q6h5-vrcx-57hj, MINI-q9wg-r8fj-pqh4, MINI-qcvh-rmhp-m5fx, MINI-qv22-g2c3-c936, MINI-qx8v-xj5j-wr26, MINI-r2rx-mxmq-c68h, MINI-r478-g84m-gxqc, MINI-r484-fgvp-m88r, MINI-rc6x-33c3-qx87, MINI-rcxw-gqrj-q8g9, MINI-rfw5-m37v-j2h5, MINI-rp47-6qvx-7cmv, MINI-rpmr-2c6q-9cpm, MINI-rq3p-hgvh-g95h, MINI-rrwg-3p82-w8c6, MINI-rv89-fv63-94c7, MINI-rvv5-2ghp-mrfh, MINI-v422-5grw-3chg, MINI-v7mx-ggfq-ff7h, MINI-vvwv-2m3j-hmf6, MINI-vw62-gqrr-vm85, MINI-w3qf-hvgp-x6r4, MINI-w5m3-qfc5-q3q2, MINI-w9px-fhf6-56m8, MINI-w9rw-qwvp-5wwp, MINI-wh2c-qh2x-prrx, MINI-wj5h-5726-7xq8, MINI-wjg8-h9wg-6j28, MINI-x644-j5fh-jfqp, MINI-x775-gh5h-mg4m, MINI-x7rp-whrc-7xrh, MINI-xc2w-whx3-rv3p, MINI-xch6-99wm-hprc, MINI-xg7x-229f-3fhg, MINI-xgp6-q46m-r4pq, MINI-xm35-gwwf-7gxv, MINI-xm4q-9f6j-p2f3, MINI-xq26-2wgp-hrwg, MINI-xqf6-fjw9-pr65, MINI-xvgq-jjqp-43vg, MINI-xxf8-wp2q-fpvr, ROOT-APP-GOBINARY-CVE-2024-25621, UBUNTU-CVE-2024-25621

## What is CVE-2024-25621?

CVE-2024-25621 is a high-severity vulnerability in containerd, published on 6 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-279 (Incorrect Execution-Assigned Permissions)

## Which versions are affected by CVE-2024-25621?

10 open source packages ship an affected version, including github.com/containerd/containerd/v2 and github.com/containerd/containerd. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/containerd/containerd/v2` | Go | All versions | 2.0.7, 2.1.5, 2.2.0 |
| `github.com/containerd/containerd/v2` | Go | All versions | 2.0.7 |
| `github.com/containerd/containerd/v2` | Go | All versions | 2.0.7 |
| `github.com/containerd/containerd/v2` | Go | From 2.1.0-beta.0 | 2.1.5 |
| `github.com/containerd/containerd/v2` | Go | From 2.1.0-beta.0 | 2.1.5 |
| `github.com/containerd/containerd/v2` | Go | From 2.2.0-beta.0 | 2.2.0 |
| `github.com/containerd/containerd/v2` | Go | From 2.2.0-beta.0 | 2.2.0 |
| `github.com/containerd/containerd` | Go | All versions | 1.7.29 |
| `github.com/containerd/containerd` | Go | All versions | 1.7.29 |
| `github.com/containerd/containerd` | Go | All versions | 1.7.29 |

Products: Linuxfoundation Containerd.

## How do I fix CVE-2024-25621?

Upgrade github.com/containerd/containerd/v2 to a fixed version for your release line: 2.0.7, 2.1.5 or 2.2.0.

## Is CVE-2024-25621 being exploited?

There is no known exploitation of CVE-2024-25621 in the wild and no public exploit code.

## Other vulnerabilities in containerd

- [CVE-2026-53488](https://insights.sbomify.com/CVE-2026-53488/): containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull (critical 9.4)
- [CVE-2026-53492](https://insights.sbomify.com/CVE-2026-53492/): containerd CRI checkpoint restore CDI annotation smuggling (high 8.4)
- [CVE-2026-53489](https://insights.sbomify.com/CVE-2026-53489/): containerd: Arbitrary host CRI log file read via symlink following in CRI checkpoint restore (high 8.2)
- [CVE-2025-47290](https://insights.sbomify.com/CVE-2025-47290/): Containerd vulnerable to host filesystem access during image unpack (high 7.6)
- [CVE-2026-46680](https://insights.sbomify.com/CVE-2026-46680/): containerd user ID handling bypass allows runAsNonRoot evasion (high 7.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-25621 and fix it if it is affected.

What it is: CVE-2024-25621 is a high-severity vulnerability in containerd, published on 6 Nov 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2024-25621 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/containerd/containerd/v2 (Go): affected all versions; fixed in 2.0.7, 2.1.5, 2.2.0
- github.com/containerd/containerd/v2 (Go): affected all versions; fixed in 2.0.7
- github.com/containerd/containerd/v2 (Go): affected all versions; fixed in 2.0.7
- github.com/containerd/containerd/v2 (Go): affected from 2.1.0-beta.0; fixed in 2.1.5
- github.com/containerd/containerd/v2 (Go): affected from 2.1.0-beta.0; fixed in 2.1.5
- github.com/containerd/containerd/v2 (Go): affected from 2.2.0-beta.0; fixed in 2.2.0
- github.com/containerd/containerd/v2 (Go): affected from 2.2.0-beta.0; fixed in 2.2.0
- github.com/containerd/containerd (Go): affected all versions; fixed in 1.7.29
- github.com/containerd/containerd (Go): affected all versions; fixed in 1.7.29
- github.com/containerd/containerd (Go): affected all versions; fixed in 1.7.29

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-25621/ (Markdown: https://insights.sbomify.com/CVE-2024-25621/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-25621
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-25621
- OSV: https://osv.dev/vulnerability/CVE-2024-25621

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-25621/
Summaries are generated and may contain mistakes; the official description above is the record.
