Guest-to-host escape

AHV runs VMs under KVM with QEMU-derived device emulation, so a guest-to-host escape targets the same QEMU device models, virtio, NICs, storage, USB, and lands in the per-VM QEMU process on the AHV host. From there the attacker reaches the node and, through the Controller VM relationship, the storage fabric and management plane.

2분 분량2026년 10월 7일 업데이트florianamette기여자 1명
어시스턴트에게 묻기 (MCP)GitHub에서 편집

Because AHV uses KVM with QEMU-derived device emulation, escaping an AHV guest is the QEMU problem: corrupt the per-VM QEMU process on the AHV node through a device model. The reachable surface and mechanisms are the QEMU ones, virtio virtqueues, the emulated NICs, the storage controllers, USB, so the per-device detail lives on the QEMU pages. What differs is the landing environment and the onward pivot: code execution lands on an AHV node whose storage and management flow through a Controller VM, so the escape is a step toward the node, the CVM, and the cluster.

bash
# from the guest: the QEMU-emulated device inventory (escape surface)
lspci -nn; lsusb; dmesg | grep -i virtio

The device-model mechanisms are shared with QEMU:

What differs on AHV#

bash
# after landing in the QEMU process on the AHV node:
#  - the node's storage I/O is served by the local Controller VM; reaching the CVM
#    (over its internal network, typically 192.168.5.0/24) is the pivot to the fabric
#  - node and CVM credentials/keys enable moving to Prism and other nodes
ip route; ip -4 addr   # the internal CVM network is reachable from the host

Exploitation notes#

  • The escape primitive and per-device mechanics are QEMU's; fingerprint the AHV (and thus QEMU) version and match to the device advisory, exactly as for QEMU known escape exploits.
  • The AHV-specific value is the onward path: from the node, the local Controller VM mediates all storage and runs management services, so a node foothold is a step toward the whole cluster via the CVM internal network.
  • Nutanix adds its own confinement and services around QEMU; assess the node's sandboxing as with any KVM host, see Host access and shell.

References#