
Cloud Vulnerability DB
コミュニティ主導の脆弱性データベース
CVE-2026-64777 is a path traversal vulnerability (CWE-22) in Apple's container tool for Swift that allows a malicious builder peer to request in-context files by name from the host and receive the contents of files that resolve outside the intended build context. It affects all versions of apple/container up to and including 1.1.0, and was published on August 20, 2026. The vulnerability was addressed in container version 1.2.0. It carries a CVSS v3.1 base score of 4.3 (Medium) (GitHub Advisory).
The root cause is improper path validation (CWE-22) in the BuildFSSync.read() and BuildFSSync.info() functions within Sources/ContainerBuild/BuildFSSync.swift, present since the file's initial commit on 2025-06-03. The host-side code enforces containment only on the lexical path of a requested filename — checking whether the name is textually inside the context directory — rather than verifying where the path ultimately resolves after symlink resolution. A malicious builder peer (e.g., a compromised or custom build.image) can exploit this by requesting a file whose name is lexically valid but which is a symlink pointing outside the build context, causing the host to return the contents of the symlink's target. Exploitation requires two preconditions: a builder peer willing to make direct file requests (not the default stock builder behavior), and a build context containing a symlink that resolves outside the context root (GitHub Advisory).
A successful exploit allows an authenticated builder peer to read arbitrary files from the host filesystem that lie outside the intended build context, resulting in a confidentiality breach. The disclosure occurs in-memory during the build process and does not leave a durable artifact on the host filesystem, making post-hoc detection difficult. There is no integrity or availability impact; the vulnerability is limited to unauthorized file read access (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.0023 (0.23%), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is not automatable and requires low privileges (authenticated builder peer access), limiting the practical attack surface.
build.image in the target's ~/.config/container/config.toml, or by executing a supply-chain attack on the default builder image.secret -> /etc/passwd).container build operation on the host using the malicious builder peer and the prepared build context.BuildFSSync.read() or BuildFSSync.info() using the lexically valid in-context symlink name./etc/passwd) to the builder peer, bypassing the intended build context boundary (GitHub Advisory).build.image entry in ~/.config/container/config.toml or container system properties that points to an untrusted or unexpected image.find <context_dir> -type l | while read -r l; do
case "$(readlink -f "$l")" in
"$(readlink -f <context_dir>)"/*) ;;
*) echo "escapes context: $l -> $(readlink -f "$l")";;
esac
doneBuildFSSync file read requests from the builder peer process targeting filenames that correspond to symlinks in the build context (GitHub Advisory).Upgrade apple/container to version 1.2.0 or later, which fixes the path traversal in BuildFSSync.read() and BuildFSSync.info() (GitHub Advisory). If immediate upgrade is not possible, only use the default, unmodified builder image and do not set a custom build.image in the container configuration unless the publisher is fully trusted. Additionally, before building any cloned or downloaded context, scan it for out-of-context symlinks using find -type l -exec sh -c 'case "$(readlink -f "$1")" in "$2"/*) ;; *) echo "$1 -> $(readlink -f "$1")";; esac' _ {} \; and remove any symlinks whose targets fall outside the context root.
The advisory was published by Apple's security team (credited to reporters liyander, DebasishTripathy13, SergeyMalych-Novee, SergeyMalych, blackcon, and 0xdkay) and assigned a Moderate severity rating (GitHub Advisory). No significant broader media coverage or notable public researcher commentary beyond the official advisory has been identified at this time.
ソース: このレポートは AI を使用して生成されました
無料の脆弱性評価
9つのセキュリティドメインにわたるクラウドセキュリティプラクティスを評価して、リスクレベルをベンチマークし、防御のギャップを特定します。
パーソナライズされたデモを見る
"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"