Skip to main content

guest-components CVE-2026-47699

| EUVDEUVD-2026-62192 MEDIUM
Path Traversal (CWE-22)
2026-08-18 security-advisories@github.com
Medium
Disputed · 6.4 Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker controls workload owner image publishing rights
  2. Delivery
    Craft OCI image layer with absolute-path hardlink tar entry
  3. Exploit
    Victim Confidential Containers runtime pulls and unpacks the image
  4. Install
    try_hardlink_fallback() computes destination via Path::join with absolute entry_rel
  5. C2
    Base path is discarded; fs::hard_link() targets arbitrary VM path
  6. Execute
    Hardlink created outside layer directory in pod VM
  7. Impact
    Attacker corrupts attestation config or gains pod VM capabilities

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold the workload owner role - specifically, the ability to publish or control the OCI image content that a Confidential Containers workload will pull and unpack using the affected guest-components versions 0.16.0 through 0.19.x. Within that image, the attacker must craft a tar layer containing a hardlink entry with an absolute path that triggers the try_hardlink_fallback() code path (reached when file.unpack_in(destination) returns an error for an absolute-path hardlink entry). Non-default deployment configurations are not required; any standard Confidential Containers deployment processing attacker-influenced OCI images is vulnerable. Exploitation does not cross the image trust boundary per the advisory - the workload owner already controls trusted image content. What limits exploitation is the PR:L prerequisite: an arbitrary unauthenticated network attacker without image publication rights to the target workload cannot exploit this. The scope of impact is confined to the pod virtual machine rather than the host hypervisor or other tenants.

Impact

The CVSS 3.1 score of 6.4 (Medium) with vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N is broadly consistent with the vulnerability mechanics. The Changed Scope (S:C) correctly captures the container-layer-to-pod-VM boundary crossing, and PR:L accurately represents the workload owner role rather than an unauthenticated external attacker. Real-world risk is lower than a typical 6.4 network-accessible vulnerability because the threat actor must already be in the workload owner trust tier - capable of publishing OCI images consumed by the target deployment - which is a meaningful prerequisite in the Confidential Containers threat model. The most significant real-world concern is attestation integrity: Confidential Containers are specifically deployed in scenarios where attestation guarantees are a load-bearing security property, so VM-level file manipulation undermines the core value proposition of the technology. No KEV listing exists, no EPSS data was provided, and no public exploit code has been identified, indicating this has not seen broad opportunistic exploitation. Organizations relying on Confidential Containers' attestation properties should treat this as a priority upgrade; organizations not using Confidential Containers are entirely unaffected.

Exploit ScenarioDerived

A workload owner crafts a malicious OCI image containing a tar layer with a hardlink entry whose entry_rel is an absolute path such as /etc/attestation-config or another sensitive pod VM file. When guest-components unpacks the image via image_rs::stream::unpack::unpack(), try_hardlink_fallback() invokes fs::hard_link() with the attacker-controlled absolute destination, creating or overwriting the targeted VM-level file. The workload owner can then leverage this arbitrary hardlink write to corrupt attestation data or gain access to pod VM capabilities beyond the expected isolation boundary.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 19, 2026

Path traversal in Confidential Containers guest-components (image-rs) versions 0.16.0 through 0.19.x allows a workload owner to create hardlinks outside the OCI layer destination directory and into arbitrary absolute paths within the pod virtual machine. The root cause is Rust's standard library behavior where Path::join() silently discards the base path when the right-hand operand is absolute, allowing a crafted tar entry to bypass directory confinement in try_hardlink_fallback(). While this does not cross the image trust boundary - the workload owner already controls trusted image content - it enables escape into pod VM capabilities and potential attestation abuse; no public exploit code has been identified at time of analysis.

RemediationAI

Upgrade to guest-components v0.20.0, which resolves the vulnerability by replacing the unsafe destination.join() path computation with pathrs::Root-scoped operations that enforce directory confinement for all hardlink creation. The release is available at https://github.com/confidential-containers/guest-components/releases/tag/v0.20.0 and corresponds to commits 14fbb711 and 7cc1bc45 via PRs #1440 and #1457. If an immediate upgrade is not possible, the most actionable compensating control is to enforce strict OCI image signing and provenance validation through admission controllers, limiting which images can be unpacked by guest-components to only those from fully trusted publishers - this reduces the workload owner attack surface without requiring a patch. Note that this control is partially present by design in Confidential Containers but tightening admission policies further limits blast radius from compromised workload owners. No other vendor-documented workarounds exist at time of analysis.

Affected VersionsENISA

guest-components 0.16.0, < 0.20.0

Affected Packages

euvd guest_components_0_16_0 fix: 0.20.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in image-rs/src/stream/unpack.rs within the try_hardlink_fallback() function, which handles OCI image tar layer extraction in the Rust-based image-rs crate. The flawed code computes the hardlink destination as destination.join(&entry_rel). Rust's std::path::Path::join() has a documented but easy-to-miss behavior: when the right-hand operand is an absolute path (starts with /), it replaces the entire base path rather than appending to it. A crafted tar entry with an absolute entry_rel therefore causes fs::hard_link(&src_canon, &dst_entry_abs) to target an arbitrary absolute path on the pod VM filesystem. The fix (PRs #1440 and #1457) introduces the pathrs crate (v0.2.4), a Linux-specific safe path resolution library that uses pathrs::Root::open() to scope all subsequent filesystem operations within the layer directory, preventing traversal regardless of absolute or symlink-based path components. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) is the exact root cause class. No CPE strings were provided in the input data; the affected component is confidential-containers/guest-components, specifically the image-rs sub-crate.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Sources disagree (Medium–Critical)
Vendor (github) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Network vector reflects OCI image distribution; PR:L for workload owner role; S:C captures pod VM boundary crossing; C:L/I:L for limited VM file access and attestation integrity risk; no availability impact confirmed.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Red Hat 9.9 CRITICAL

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 18, 2026 - 22:19 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
niche confidential computing runtime component, limited production footprint
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy