Advisory Database
  • Advisories
  • Dependency Scanning
  1. swift
  2. ›
  3. github.com/apple/containerization
  4. ›
  5. CVE-2026-20613

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

January 22, 2026

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.

References

  • github.com/advisories/GHSA-cq3j-qj2h-6rv3
  • github.com/apple/containerization
  • github.com/apple/containerization/commit/3e93416b9a6d7b4c25fff7e9dea22a9ca687ee52
  • github.com/apple/containerization/security/advisories/GHSA-cq3j-qj2h-6rv3
  • nvd.nist.gov/vuln/detail/CVE-2026-20613

Detect and mitigate CVE-2026-20613 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.21.0

Fixed versions

  • 0.21.0

Solution

Upgrade to version 0.21.0 or above.

Impact 4.4 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

swift/github.com/apple/containerization/CVE-2026-20613.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:19 +0000.