Skip to content

CVE-2026-20613 Container and Containerization archive extraction does not guard against escapes from extraction base directory.

HighCVSS 7.8 EPSS 0.27%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

The ArchiveReader.extractContents() function used by cctl image load and container image load performs no pathname validation before extracting an archive member. This means that a carelessly or maliciously constructed archive can extract a file into any user-writable location on the system using relative pathnames. This issue is addressed in container 0.8.0 and containerization 0.21.0.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
apple container < 0.7.1; < 0.8.0 0.7.1, 0.8.0 Fixed
apple containerization < 0.20.1; < 0.21.0 0.20.1, 0.21.0 Fixed
swifturl github.com/apple/container(SwiftURL) <= 0.7.1 after 0.7.1 Fixed
swifturl github.com/apple/containerization(SwiftURL) <= 0.20.1 after 0.20.1 Fixed

Affected products

ProductAffected versionsFixed in
apple container < 0.7.1 0.7.1
apple containerization < 0.20.1 0.20.1
swifturl github.com/apple/containerization(SwiftURL) <= 0.20.1 No fix listed
swifturl github.com/apple/container(SwiftURL) <= 0.7.1 No fix listed
apple container < 0.8.0 0.8.0
apple containerization < 0.21.0 0.21.0

References