CVE-2026-12080
Qemu-kvm: qemu-guest-agent: local privilege escalation via symlink attack in guest-ssh-add-authorized-keys
- Severity
- high CVSS 7.3 (v3.1)
- Affects
- Red Hat Enterprise Linux 9 · Red Hat
- Weakness
- CWE-61: UNIX Symbolic Link (Symlink) Following
- Published
- 20 July 2026 by redhat
- First seen on our lists
- 9 July 2026
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.
Our coverage
- QEMU guest agent fixes root symlink flaw in SSH key commands
- QEMU guest agent plugs root escalation in SSH key commands
- QEMU guest agent plugs root escalation in SSH key commands
- QEMU guest agent SSH key flaw lets users seize root files
On the lists
- [PULL 02/19] qga: Change effective user/group ID in guest-ssh-* commands
- [PATCH v4] qga: Change effective user/group ID in guest-ssh-* commands
- [PATCH v3] qga: Change effective user/group ID in guest-ssh-* commands
- [PATCH v2] qga: Change effective user/group ID in guest-ssh-* commands
- [PATCH] qga: Do not follow symlink in guest-ssh-* commands