CVE-2026-20613

Published Jan 22, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

ArchiveReader.extractContents() is used by cctl image load and container image load to unpack archives. The function performs no pathname validation before extracting an archive member, allowing a maliciously constructed archive to write a file to any user‑writable location on the system via relative pathnames. This results in an arbitrary file write vulnerability, classified as CWE‑22. The impact is the potential modification or insertion of files on the host filesystem, which can compromise confidentiality, integrity, or availability of the system.

Affected Systems

Apple Container and Apple Containerization products are affected. The fix was released in version 0.8.0 of Apple Container and version 0.21.0 of Apple Containerization. All earlier releases remain vulnerable.

Risk and Exploitability

The CVSS base score is 7.8, indicating a high level of severity. The EPSS score is reported as less than 1%, suggesting a very low probability of exploitation at the time of this assessment, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is local, where an adversary with access to run cctl image load can supply a crafted archive. No remote exploitation path is detailed in the provided data, but the vulnerability would still allow an attacker to overwrite arbitrary files if the image load process is executed with elevated or write‑capable privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apple Container to version 0.8.0 or later.
  • Upgrade Apple Containerization to version 0.21.0 or later.
  • Ensure that only trusted images are loaded and restrict the execution of cctl image load to users with minimal privileges.

Generated by OpenCVE AI on April 18, 2026 at 03:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-cq3j-qj2h-6rv3 Container and Containerization archive extraction does not guard against escapes from extraction base directory.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apple:container:*:*:*:*:*:swift:*:*
cpe:2.3:a:apple:containerization:*:*:*:*:*:swift:*:*
Type Values Removed Values Added
First Time appeared Apple
Apple container
Apple containerization
Vendors & Products Apple
Apple container
Apple containerization
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
apple
Published
Updated
Jan 23, 2026, 2:56 PM
Reserved
Nov 11, 2025, 2:43 PM
Status
Analyzed
Published
Jan 23, 2026, 12:15 AM
Modified
Jun 17, 2026, 10:17 AM