{"answers":{"affected":"4 open source packages ship an affected version, including github.com/apple/container and github.com/apple/containerization. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-20613 exists.","fix":"Upgrade github.com/apple/container to 0.8.0 or later.","what":"CVE-2026-20613 is a high-severity path traversal vulnerability in Apple Container, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-20613 and fix it if it is affected.\n\nWhat it is: CVE-2026-20613 is a high-severity path traversal vulnerability in Apple Container, published on 22 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-20613 exists.\n\nAffected packages and fixed versions:\n- github.com/apple/container (SwiftURL): affected all versions; fixed in 0.8.0\n- github.com/apple/container (SwiftURL): affected all versions; fixed in 0.8.0\n- github.com/apple/containerization (SwiftURL): affected all versions; fixed in 0.21.0\n- github.com/apple/containerization (SwiftURL): affected all versions; fixed in 0.21.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-20613/ (Markdown: https://insights.sbomify.com/CVE-2026-20613/index.md)","id":"CVE-2026-20613","markdown":"https://insights.sbomify.com/CVE-2026-20613/index.md","name":"CVE-2026-20613","record":{"aliases":["GHSA-cq3j-qj2h-6rv3"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apple Container","requires_auth":"none","summary":"Attackers can extract files to arbitrary locations via malicious archives, potentially leading to code execution or privilege escalation in Apple Container environments.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apple","cpe":[{"product":"container","vendor":"apple"},{"product":"containerization","vendor":"apple"}],"cvss":{"score":7.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["SwiftURL"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Container and Containerization archive extraction does not guard against escapes from extraction base directory.","id":"CVE-2026-20613","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"SwiftURL","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"Path traversal in macOS","id":"CVE-2026-20614"},"packages":[{"ecosystem":"SwiftURL","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"github.com/apple/container","purl":null,"source":"GHSA-cq3j-qj2h-6rv3"},{"ecosystem":"SwiftURL","fixed":["0.8.0"],"introduced":["0"],"last_affected":[],"package":"github.com/apple/container","purl":"pkg:swift/github.com/apple/container","source":"GHSA-cq3j-qj2h-6rv3"},{"ecosystem":"SwiftURL","fixed":["0.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/apple/containerization","purl":null,"source":"GHSA-cq3j-qj2h-6rv3"},{"ecosystem":"SwiftURL","fixed":["0.21.0"],"introduced":["0"],"last_affected":[],"package":"github.com/apple/containerization","purl":"pkg:swift/github.com/apple/containerization","source":"GHSA-cq3j-qj2h-6rv3"}],"prev":{"headline":"Information disclosure in macOS","id":"CVE-2026-20612"},"products":["Container","Containerization"],"published":"2026-01-22","related":[{"cvss_score":7.5,"headline":"Denial of service in container","id":"CVE-2026-64773","kev_date_added":null,"published":"2026-08-20"},{"cvss_score":6.5,"headline":"Users who connect to malicious registries with hostnames matching the bypass patterns will have their registry credentials exposed in plaintext.","id":"CVE-2026-28909","kev_date_added":null,"published":"2026-04-30"},{"cvss_score":4.3,"headline":"Path traversal in container","id":"CVE-2026-64777","kev_date_added":null,"published":"2026-08-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-23","vendors":["Apple"]},"summary":"Attackers can extract files to arbitrary locations via malicious archives, potentially leading to code execution or privilege escalation in Apple Container environments.","url":"https://insights.sbomify.com/CVE-2026-20613/"}