{
  "id": "CVE-2026-12080",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-12080",
  "published_at": "2026-07-20T12:40:45.399Z",
  "title": "Qemu-kvm: qemu-guest-agent: local privilege escalation via symlink attack in guest-ssh-add-authorized-keys",
  "vendor": "Red Hat",
  "product": "Red Hat",
  "cvss": {
    "score": 7.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-61",
  "cvss_by_source": {
    "cna": 7.3
  },
  "repos": [
    {
      "repo": "M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys",
      "url": "https://github.com/M8seven/cve-2026-12080-qemu-guest-agent-authorized-keys",
      "created_at": "2026-10-22T18:09:38Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-01-11T21:09:52Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "17:10.1.0-17.el9_8.9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 4.22",
        "ranges": null,
        "fixed_in": [
          "4.22.9.8.202611032353-0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat OpenShift Container Platform 5.0",
        "ranges": null,
        "fixed_in": [
          "5.0.10.2.202611022203-0"
        ]
      }
    ],
    "upgrade": [
      "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."
    ],
    "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."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:88421"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:94537"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:95346"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
