<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Virtiofs — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/virtiofs/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 27 May 2026 22:51:24 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/virtiofs/feed.xml" rel="self" type="application/rss+xml"/><item><title>Kata Containers Guest-to-Host Root Escape via Virtiofs FUSE_SYMLINK</title><link>https://feed.craftedsignal.io/briefs/2026-05-kata-virtiofs-escape/</link><pubDate>Wed, 27 May 2026 22:51:24 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-kata-virtiofs-escape/</guid><description>A vulnerability in Kata Containers allows a guest root user to escalate privileges to host root by exploiting the virtiofs shared file system to create arbitrary symlinks on the host.</description><content:encoded><![CDATA[<p>A guest-to-host root escape vulnerability exists in Kata Containers when using the runtime-rs standalone virtio-fs path. This configuration, which runs <code>virtiofsd</code> on the host as root without sandboxing or seccomp, allows a malicious actor with root privileges inside the Kata guest VM to send raw FUSE requests directly to the host <code>virtiofsd</code>. Specifically, the <code>FUSE_SYMLINK</code> request can be leveraged to create arbitrary symlinks outside the intended virtio-fs shared directory. By creating symlinks in sensitive host paths like <code>/etc/cron.d</code>, an attacker can inject and execute arbitrary code as host root. This attack bypasses the guest kernel&rsquo;s normal filesystem validation and directly interacts with the host&rsquo;s file system management. The vulnerability affects Kata Containers versions prior to commit <code>2ffd1538a296cff93a357bfba0dfca747480a1f8</code>, and is reproducible using QEMU and Cloud Hypervisor.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker gains root-equivalent access inside the Kata guest VM.</li>
<li>Attacker identifies the virtio-fs PCI device within the guest using <code>/sys/devices/pci*</code>.</li>
<li>Attacker takes control of a virtio-fs queue in userspace, bypassing the guest kernel&rsquo;s virtio-fs client.</li>
<li>Attacker sends a <code>FUSE_INIT</code> request to initialize the FUSE connection.</li>
<li>Attacker discovers the runtime-rs sandbox ID and constructs the path to a guest-controlled payload, such as <code>/tmp/kata-go-escape-payload</code>, using the <code>passthrough</code> mount.</li>
<li>Attacker crafts a raw <code>FUSE_SYMLINK</code> request. The request specifies a new symlink name as an absolute path on the host, e.g., <code>/etc/cron.d/kata-go-escape-cron-&lt;pid&gt;</code>, and sets the symlink target to point to the guest-controlled payload through a <code>/proc/&lt;pid&gt;/root/...</code> path.</li>
<li>The host <code>virtiofsd</code> receives the <code>FUSE_SYMLINK</code> request and, due to the lack of proper validation, creates the symlink on the host filesystem in the specified location.</li>
<li>Host cron reads the <code>/etc/cron.d</code> directory, follows the newly created symlink, and executes the guest-controlled payload as host root.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation leads to complete compromise of the host system, as the attacker gains the ability to execute arbitrary commands as root. This allows the attacker to bypass the Kata Containers isolation and potentially access sensitive data, disrupt services, or further compromise the host infrastructure. The provided PoC demonstrated this vulnerability, confirming guest-root to host-root command execution by creating a proof file in the host&rsquo;s <code>/run</code> directory. This bypasses the container&rsquo;s isolation and impacts the entire host system.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade to a patched version of Kata Containers that addresses CVE-2026-47243 to prevent exploitation.</li>
<li>Monitor process creation events on the host for the execution of unexpected binaries from <code>/etc/cron.d</code> using the provided Sigma rule <code>Detect Cron Job File Creation</code>.</li>
<li>Implement host-based intrusion detection systems (HIDS) to monitor for suspicious file system activity, particularly the creation of symlinks in sensitive directories such as <code>/etc/cron.d</code>.</li>
<li>Review and harden the configuration of <code>virtiofsd</code> to ensure proper validation of file paths and prevent the creation of symlinks outside the intended shared directory.</li>
<li>Enable and configure seccomp profiles to restrict the capabilities of the <code>virtiofsd</code> process, limiting its ability to perform actions that could lead to privilege escalation.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>kata-containers</category><category>virtiofs</category><category>fuse</category><category>privilege-escalation</category><category>container-escape</category></item></channel></rss>