{"id":"CVE-2026-47699","summary":"Confidential Containers Guest Components image-rs: zip-slip-class arbitrary file write via absolute entry path in hardlink fallback","details":"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.","aliases":["GHSA-84rc-2q4r-45pc"],"modified":"2026-09-11T03:30:26.337161628Z","published":"2026-08-18T21:24:54.280Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47699.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-59"]},"references":[{"type":"WEB","url":"https://github.com/confidential-containers/guest-components/releases/tag/v0.20.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47699.json"},{"type":"ADVISORY","url":"https://github.com/confidential-containers/guest-components/security/advisories/GHSA-84rc-2q4r-45pc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47699"},{"type":"FIX","url":"https://github.com/confidential-containers/guest-components/commit/14fbb711af0b29bb9cad307969d57b0de9b85d7f"},{"type":"FIX","url":"https://github.com/confidential-containers/guest-components/commit/7cc1bc458973310296e58aedbb15cb7963297bbe"},{"type":"FIX","url":"https://github.com/confidential-containers/guest-components/pull/1440"},{"type":"FIX","url":"https://github.com/confidential-containers/guest-components/pull/1457"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/confidential-containers/guest-components","events":[{"introduced":"048ddaec4ecd6ee45c845d69bc39416908764560"},{"fixed":"14fbb711af0b29bb9cad307969d57b0de9b85d7f"},{"fixed":"7cc1bc458973310296e58aedbb15cb7963297bbe"},{"fixed":"f1561038b9a58d309a3366cc8e25d8e6162424a0"}],"database_specific":{"extracted_events":[{"introduced":"0.16.0"},{"fixed":"0.20.0"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v0.19.0","v0.18.0","v0.17.0","v0.16.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47699.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"}]}