Red Hat
Qemu-kvm: qemu-guest-agent: local privilege escalation via symlink attack in guest-ssh-add-authorized-keys
A flaw was found in the QEMU Guest Agent (qga). A local unprivileged user can exploit a vulnerability in the guest-ssh-add-authorized-keys command handler by manipulating symbolic links. This can occur either through a deterministic directory-symlink bypass or a Time-of-Check to Time-of-Use (TOCTOU) file-symlink race. Successful exploitation allows the attacker to gain ownership of arbitrary root-owned files or directories, leading to root access. This vulnerability requires an external management layer (e.g., libvirt) to trigger the affected code path.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 17:10.1.0-17.el9_8.9
Fixed in 4.22.9.8.202611032353-0
Fixed in 5.0.10.2.202611022203-0
Mitigation
Upgrade Red Hat Enterprise Linux 9 to 17:10.1.0-17.el9_8.9 or later.
Upgrade Red Hat OpenShift Container Platform 4.22 to 4.22.9.8.202611032353-0 or later.
Upgrade Red Hat OpenShift Container Platform 5.0 to 5.0.10.2.202611022203-0 or later.
Workaround
If the `guest-ssh-add-authorized-keys` command is not required, it can be disabled by adding it to the qemu-guest-agent block list (qemu-ga --block-rpcs). This prevents the vulnerable code path from being reached while preserving all other guest-agent functionality.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:88421
- Vendor advisory access.redhat.com/errata/RHSA-2026:94537
- Vendor advisory access.redhat.com/errata/RHSA-2026:95346
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 informational
Informational 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys | 22 Oct 2026 +94 d | 14 Nov 2026 | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.