{"id":"CVE-2026-12080","published":"2026-07-20T12:40:45Z","modified":"2026-11-23T14:45:43Z","title":"Qemu-kvm: qemu-guest-agent: local privilege escalation via symlink attack in guest-ssh-add-authorized-keys","vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00177,"percentile":0.04293,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:88421","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:94537","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:95346","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-12080","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499603","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://gitlab.com/qemu-project/qemu/-/work_items/3929","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":0.86},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-22","earliestUrl":"https://github.com/M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys","repos":[{"name":"M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys","url":"https://github.com/M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys","stars":0,"created":"2026-10-22"}]},"first":{"date":"2026-10-22","source":"PoC-in-GitHub","url":"https://github.com/M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys"},"provenance":"source"},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5.0","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","versions":["all versions"]}],"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-20T18:03:34.730903Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45941","exploited":false,"provenance":"source"}}