{"id":"CVE-2026-47699","published":"2026-08-18T21:24:54Z","modified":"2026-08-21T19:17:19Z","title":"Confidential Containers Guest Components image-rs: zip-slip-class arbitrary file write via absolute entry path in…","vendor":"confidential-containers","product":"guest-components","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0029,"percentile":0.22096,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/confidential-containers/guest-components/security/advisories/GHSA-84rc-2q4r-45pc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/confidential-containers/guest-components/pull/1440","tags":["x_refsource_MISC"]},{"url":"https://github.com/confidential-containers/guest-components/pull/1457","tags":["x_refsource_MISC"]},{"url":"https://github.com/confidential-containers/guest-components/commit/14fbb711af0b29bb9cad307969d57b0de9b85d7f","tags":["x_refsource_MISC"]},{"url":"https://github.com/confidential-containers/guest-components/commit/7cc1bc458973310296e58aedbb15cb7963297bbe","tags":["x_refsource_MISC"]},{"url":"https://github.com/confidential-containers/guest-components/releases/tag/v0.20.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.42},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"confidential-containers","affectedVersions":[{"vendor":"confidential-containers","product":"guest-components","versions":[">= 0.16.0, < 0.20.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T19:17:03.503833Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-62192","exploited":false,"provenance":"source"}}