Advisory

GHSA-cm76-qm8v-3j95

Also known as: CVE-2025-47290, GO-2025-3699

Summary

containerd allows host filesystem access on pull

Details

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:

To report a security issue in containerd:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-05-21 16:53 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/containerd/containerd/v2

Go · All systems

Affected

  • introduced 2.1.0, fixed 2.1.1 (semver)

Fixed versions

2.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences