Skip to content

CVE-2026-47699 Confidential Containers Guest Components image-rs: zip-slip-class arbitrary file write via absolute entry path in hardlink fallback

MediumCVSS 6.4 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

Description

Confidential Containers Guest Components provides guest tools and components for confidential container workloads. From 0.16.0 until 0.20.0, a crafted OCI image layer can make image_rs::stream::unpack::unpack() create a hardlink outside its destination directory. In image-rs/src/stream/unpack.rs, try_hardlink_fallback() validates the hardlink source but computes the destination with destination.join(&entry_rel). Rust Path::join replaces the base when entry_rel is an absolute tar entry path, so fs::hard_link(&src_canon, &dst_entry_abs) can write attacker-controlled content to an arbitrary absolute path. In Confidential Containers the workload owner already controls trusted image content, so the issue is a workload-owner escape into the pod virtual machine rather than a crossing of the image trust boundary, but it may enable access to pod virtual machine capabilities and attestation abuse. This issue is fixed in version 0.20.0.

Upgrade path

5 packages: 0 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
redhat/kata-containers(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift-sandboxed-containers/osc-podvm-payload-rhel9(Red Hat confidential_compute_attestation 1) All versions No fix listed No fix yet
redhat/trustee(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/trustee-guest-components(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
confidential-containers guest-components = >= 0.16.0, < 0.20.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
confidential-containers guest-components = >= 0.16.0, < 0.20.0 No fix listed
redhat/openshift-sandboxed-containers/osc-podvm-payload-rhel9(Red Hat:confidential_compute_attestation:1) All versions No fix listed
redhat/trustee(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/trustee-guest-components(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/kata-containers(Red Hat:openshift:4) All versions No fix listed

References