<?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>Guest-Agent - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/guest-agent/</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>Mon, 20 Jul 2026 13:21:23 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/guest-agent/feed.xml" rel="self" type="application/rss+xml"/><item><title>QEMU Guest Agent Vulnerability Allows Local Privilege Escalation (CVE-2026-12080)</title><link>https://feed.craftedsignal.io/briefs/2026-07-qemu-guest-agent-privesc/</link><pubDate>Mon, 20 Jul 2026 13:21:23 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-qemu-guest-agent-privesc/</guid><description>A local unprivileged user within a QEMU guest can exploit CVE-2026-12080, a vulnerability in the QEMU Guest Agent's 'guest-ssh-add-authorized-keys' command handler, by manipulating symbolic links through a directory-symlink bypass or a Time-of-Check to Time-of-Use (TOCTOU) file-symlink race to gain ownership of arbitrary root-owned files or directories, leading to root access within the guest OS.</description><content:encoded><![CDATA[<p>A significant local privilege escalation vulnerability, tracked as CVE-2026-12080, has been identified in the QEMU Guest Agent (qga). This flaw allows a local unprivileged user within a QEMU guest operating system to achieve root access. The vulnerability resides within the <code>guest-ssh-add-authorized-keys</code> command handler, which can be triggered by an external management layer like libvirt. Attackers can exploit this by manipulating symbolic links, either through a deterministic directory-symlink bypass or by winning a Time-of-Check to Time-of-Use (TOCTOU) file-symlink race. Successful exploitation enables the attacker to gain ownership of arbitrary root-owned files or directories, thereby escalating their privileges to root within the guest system. The exploit requires the guest-ssh-add-authorized-keys command to be invoked, which is typically done by management tools.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>A local unprivileged user first gains access to the QEMU guest operating system.</li>
<li>The user identifies the QEMU Guest Agent (qga) process running with root privileges and recognizes the <code>guest-ssh-add-authorized-keys</code> command handler as an exploitable component.</li>
<li>The attacker waits for or orchestrates an external management layer (such as libvirt) to invoke the <code>guest-ssh-add-authorized-keys</code> command on the guest agent.</li>
<li>Concurrently with the command execution, the attacker creates and manipulates symbolic links within the guest file system, targeting critical root-owned files or directories.</li>
<li>The attacker successfully exploits either a deterministic directory-symlink bypass or a Time-of-Check to Time-of-Use (TOCTOU) file-symlink race within the <code>guest-ssh-add-authorized-keys</code> command handler.</li>
<li>As a result of the symlink manipulation, the root-privileged QEMU Guest Agent performs file ownership modifications on the attacker-controlled target (arbitrary root-owned files or directories) instead of the intended SSH authorized_keys file.</li>
<li>The attacker leverages the newly gained ownership over these critical root-owned files or directories to achieve full root access within the guest operating system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-12080 grants a local unprivileged attacker complete root access within the affected QEMU guest operating system. This allows the attacker to fully compromise the guest, including modifying system configurations, installing malicious software, exfiltrating data, or using the compromised guest as a pivot point for further attacks within the virtualized environment. The integrity and confidentiality of data within the guest OS are severely compromised, and the overall security posture of the virtualized infrastructure is weakened.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch CVE-2026-12080 immediately by updating the QEMU Guest Agent to the fixed version provided by your vendor.</li>
<li>Monitor system logs for unusual file ownership changes, particularly for root-owned files or directories, which could indicate attempts to exploit CVE-2026-12080.</li>
<li>Ensure that management layers interacting with the QEMU Guest Agent are configured with the principle of least privilege and their activities are logged for auditing purposes.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>privilege-escalation</category><category>vulnerability</category><category>qemu</category><category>guest-agent</category></item></channel></rss>