CVE-2026-46703
OCI layer symlink escape → arbitrary host write
描述
Affected versions of `boxlite` extract OCI image layer tarballs without fully containing path resolution to the extraction root. A crafted layer containing a symlink whose target is an absolute on-host path (e.g. `escape -> /tmp`) followed by a file entry that resolves through that symlink (e.g. `escape/<path>/pwned.txt`) caused the extractor to write the payload to the host filesystem outside the intended rootfs directory. The fix in v0.9.0 routes every destructive filesystem operation through a `SafeRoot` handle (`openat2(RESOLVE_IN_ROOT)` on Linux, lexical fallback elsewhere) so that no tar entry can resolve outside the extraction root, even with adversarial symlinks placed by earlier entries in the same layer. This is a container-escape during image extraction, exploitable by any user who pulls or loads a malicious OCI image — including via `SimpleBox(rootfs_path=...)` from an untrusted local layout.
如何修補 CVE-2026-46703
要修補 CVE-2026-46703,請將受影響套件升級到下列已修補版本。
- —升級至 0.9.0 或更新版本
CVE-2026-46703 正在被利用嗎?
低 — EPSS 為 0.5%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 0.9.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |