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.
https://github.com/M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys
https://gitlab.com/qemu-project/qemu/-/work_items/3929
https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-45941
https://bugzilla.redhat.com/show_bug.cgi?id=2499603