Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/confidential-containers/guest-components/commit/14fbb711af0b2
- https://github.com/confidential-containers/guest-components/commit/7cc1bc4589733
- https://github.com/confidential-containers/guest-components/pull/1440
- https://github.com/confidential-containers/guest-components/pull/1457
- https://github.com/confidential-containers/guest-components/releases/tag/v0.20.0
- https://github.com/confidential-containers/guest-components/security/advisories/
FAQ
What is CVE-2026-47699?
CVE-2026-47699 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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...
How severe is CVE-2026-47699?
CVE-2026-47699 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-47699?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.