CVE-2025-47290: Containerd vulnerable to host filesystem access during image unpack

Published May 20, 2025
·
Updated

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

3 affected componentsFixes available
containerd containerd
go/github.com/containerd/containerd/v2>=2.1.0<2.1.1
2.1.1
linuxfoundation Containerd=2.1.0

Event History

May 20, 2025
CVE Published
via MITRE·06:25 PM
Data Sourced
via MITRE·06:25 PM
DescriptionWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
RemedyAffected Software
May 21, 2025
Advisory Published
via GitHub·04:53 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

4

Who is affected by CVE-2025-47290?

CVE-2025-47290 affects users of containerd version 2.1.0 and earlier.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203