CVE-2025-47290: containerd allows host filesystem access on pull
Impact A time-of-check to time-of-use (TOCTOU) vulnerability was found in containerd v2.1.0. While unpacking an image during an image pull, specially crafted container images could arbitrarily modify the host file system. Patches This bug has been fixed in the following containerd versions: 2.1.1 The only affected version of containerd is 2.1.0. Other versions of containerd are not affected.
Published May 21, 2025 · Updated May 28, 2025
Affected packages
github.com/containerd/containerd/v2
- Ecosystem
- Go
- Affected
- >= 2.1.0, < 2.1.1
- Fixed in
- 2.1.1
- Check
go list -m github.com/containerd/containerd/v2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A time-of-check to time-of-use (TOCTOU) vulnerability was found in containerd v2.1.0. While unpacking an image during an image pull, specially crafted container images could arbitrarily modify the host file system.
Patches
This bug has been fixed in the following containerd versions:
- 2.1.1
The only affected version of containerd is 2.1.0. Other versions of containerd are not affected.
Users should update to this version to resolve the issue.
Workarounds
Ensure that only trusted images are used and that only trusted users have permissions to import images.
Credits
The containerd project would like to thank Tõnis Tiigi for responsibly disclosing this issue in accordance with the containerd security policy.
References
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-47290
For more information
If you have any questions or comments about this advisory:
- Open an issue in containerd
- Email us at [[email protected]](mailto:[email protected])
To report a security issue in containerd:
- Report a new vulnerability
- Email us at [[email protected]](mailto:[email protected])
Credited to tonistiigi.
References
- https://github.com/containerd/containerd/security/advisories/GHSA-cm76-qm8v-3j95
- https://nvd.nist.gov/vuln/detail/CVE-2025-47290
- https://github.com/containerd/containerd/commit/cada13298fba85493badb6fecb6ccf80e49673cc
- https://github.com/containerd/containerd/releases/tag/v2.1.1
- https://github.com/advisories/GHSA-cm76-qm8v-3j95
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-95839
containerd image-triggered daemon crash via malformed digest in subject-annotated descriptor
high7.1Nov 19, 2026CVE-2026-95837
containerd CRI plugin: Checkpoint restore bypasses destination security context
high7.8Oct 15, 2026CVE-2026-95838
containerd: Unpack DoS via repeated opaque whiteouts
medium4.6Oct 15, 2026CVE-2026-53493
Containerd has image-pull DoS via crafted OCI index graph amplification
medium6.9Sep 25, 2026CVE-2026-53495
containerd: CRI ExecSync Goroutine Leak Leads to Node-Level Denial of Service
medium6.8Sep 9, 2026CVE-2026-47262
containerd image-triggered runtime DoS via unbounded group parsing
medium6.9Jun 19, 2026
