highZero-Day

Zapscape KVM Guest-to-Host Escape Vulnerability

First seen Aug 7, 2026 · Updated Aug 7, 2026

kvmvirtualizationprivilege-escalationlinux-kernelvm-escapenested-virtualizationcloud-infrastructureagent-relevant

A newly disclosed Linux kernel vulnerability dubbed Zapscape (CVE-2026-64561) affects KVM/x86's shadow MMU and can allow an attacker with kernel-level privileges inside a nested L1 guest VM to escape isolation and execute code on the host. This poses significant risk to cloud and virtualization providers that expose nested virtualization to untrusted or semi-trusted tenants.

Technical Analysis

CVE-2026-64561 resides in KVM/x86's shadow memory management unit (MMU), which manages shadow page tables used to support nested virtualization. An attacker who has already achieved kernel privileges within an L1 guest can exploit flaws in shadow page table handling to break out of the VM boundary and gain code execution on the underlying Linux host, effectively defeating the hypervisor's isolation guarantees. Exploitation requires nested virtualization to be enabled and exposed to untrusted guest kernels, a configuration common in cloud platforms offering nested VM services or CI/CD sandboxing. Because many AI agent frameworks and multi-tenant LLM inference/RAG pipelines run in cloud VMs or containerized sandboxes for code execution and tool-use isolation, a successful host escape could allow an attacker to pivot from a compromised agent sandbox to the host, exposing API keys, model weights, and cross-tenant data used by other agent workloads on the same physical infrastructure.

Affected Systems

Linux hosts running KVM with nested virtualization enabled on x86 architectures; cloud/virtualization platforms offering nested VM support to guest tenants; specific affected kernel versions not yet disclosed pending patch release

Indicators of Compromise

  • No specific IOCs published; vulnerability tracked as CVE-2026-64561

Remediation Steps

  1. 1

    Disable nested virtualization for untrusted guests

    Where not strictly required, disable nested virtualization (kvm_intel/kvm_amd nested parameter) to eliminate the attack surface for untrusted L1 guest kernels.

  2. 2

    Apply kernel patches

    Monitor Linux kernel security advisories and apply patches addressing CVE-2026-64561 as soon as they are released by distribution maintainers.

  3. 3

    Restrict guest kernel privileges

    Limit privileged access within L1 guest VMs, particularly in multi-tenant or sandboxed environments used for agent code execution.

  4. 4

    Isolate agent sandboxes

    For AI agent platforms using nested VMs for tool execution or code sandboxing, ensure additional isolation layers (e.g., gVisor, microVMs like Firecracker) are in place rather than relying solely on nested KVM.

  5. 5

    Monitor host integrity

    Deploy host-based intrusion detection to identify anomalous behavior indicative of VM escape attempts, especially on shared cloud infrastructure hosting agent workloads.

CVE / Advisory IDs

CVE-2026-64561

Industries Most Exposed

Cloud computingtechnologymanaged hosting providersAI/ML infrastructuretelecommunicationsfinancial services

Sources

Respond to this threat

Pro subscribers get a full AI-generated incident-response playbook for this threat — detection, containment, eradication, and recovery steps — plus an unlimited AI Threat Advisor for questions about your environment.