CVE-2025-47290: Containerd vulnerable to host filesystem access during image unpack
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 security@containerd.io
To report a security issue in containerd:
Report a new vulnerability Email us at security@containerd.io
Other sources
containerd is a container runtime. 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. The only affected version of containerd is 2.1.0. Other versions of containerd are not affected. This bug has been fixed in containerd 2.1.1. Users should update to this version to resolve the issue. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-47290?
CVE-2025-47290 is classified as a high-severity vulnerability due to its potential to allow arbitrary modification of the host file system.
How do I fix CVE-2025-47290?
To mitigate CVE-2025-47290, upgrade to containerd version 2.1.1 or later, which addresses the vulnerability.
What is the cause of CVE-2025-47290?
CVE-2025-47290 is caused by a time-of-check to time-of-use (TOCTOU) issue during the unpacking of specially crafted container images.
Who is affected by CVE-2025-47290?
CVE-2025-47290 affects users of containerd version 2.1.0 and earlier.
What impact does CVE-2025-47290 have on the system?
CVE-2025-47290 can lead to unauthorized access and modification of files on the host filesystem, posing a significant security risk.