CVE-2026-12080
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|
Weaknesses
- CWE-61: UNIX Symbolic Link (Symlink) Following
Workarounds
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.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://access.redhat.com/security/cve/CVE-2026-12080
- https://bugzilla.redhat.com/show_bug.cgi?id=2499603
- https://gitlab.com/qemu-project/qemu/-/work_items/3929
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.