Firecracker Snapshot Restore Flaw Lets Guests Escape to Host

Security researchers at Coinspect disclosed CVE-2026-122192, a memory corruption flaw in AWS Firecracker that lets a malicious guest escape its microVM.

The Bottom Line

Security researchers at Coinspect disclosed CVE-2026-122192, a memory corruption flaw in AWS Firecracker that lets a malicious guest escape its microVM. The bug lives in the snapshot restore process and crosses the VM isolation boundary that Firecracker exists to enforce.

Coinspect built a working exploit chain that goes from guest userspace to controlled code execution on the host. AWS coordinated the disclosure and has shipped a fix.

Firecracker versions 0.23.0 through 1.16.1 are affected when restoring snapshots with the File memory backend alongside a balloon or virtio-mem device. Firecracker 1.16.2 and 1.17.0 and later contain the fix.

What Happened

Coinspect published research on escaping Firecracker microVMs after coordinating disclosure with AWS. Firecracker is the lightweight virtual machine monitor AWS built to isolate serverless workloads, including Lambda and Fargate, using KVM-based microVMs.

The flaw surfaces during snapshot restoration. When a microVM restores from a snapshot using the File memory backend, a memory remapping operation can fail. That failure leaves KVM pointing to a stale host virtual address range instead of updating it correctly.

Firecracker then reuses that same memory region for its own internal data. KVM, unaware of the change, still treats that memory as belonging to the guest. The result is a guest that can read or overwrite memory inside the Firecracker VMM process itself, memory that should sit entirely outside the guest's reach.

Coinspect did not stop at identifying the memory confusion. The team demonstrated a full exploit chain starting from code running inside guest userspace and ending in controlled code execution on the host. That is the worst-case outcome for a VM isolation bug: an attacker who only controls a guest workload gains execution on the infrastructure hosting it.

Who Is Affected

The vulnerable window covers Firecracker 0.23.0 through 1.16.1. Exploitation requires a specific configuration: the microVM must restore from a snapshot using the File memory backend, and the VM must have a balloon device or a virtio-mem device attached.

This puts the risk squarely on operators who use Firecracker's snapshot-and-restore feature for fast VM resumption, a common pattern in serverless and multi-tenant compute platforms. Any environment running affected Firecracker versions with that memory backend and device combination is in scope, whether deployed on AWS infrastructure or self-managed.

Firecracker 1.16.2 and 1.17.0 and later are not affected. AWS has published a security bulletin covering the issue for customers running Firecracker-based services.

By the Numbers

CVE-2026-122192 is the tracking identifier for the flaw. The vulnerable version range spans Firecracker 0.23.0 through 1.16.1. The fix landed in Firecracker 1.16.2 and in the 1.17.0 release line going forward.

Why It Matters

Firecracker underpins isolation for some of AWS's highest-volume serverless products. A guest-to-host escape in that layer breaks the core security assumption multi-tenant cloud platforms depend on: that one customer's workload cannot touch another's.

This bug also illustrates a recurring pattern in virtualization security: snapshot and restore features, built for performance and convenience, introduce complex state-management logic that is easy to get wrong. A failed remap operation here created a silent mismatch between what KVM believed about memory ownership and what Firecracker actually did with that memory. That kind of state desynchronization is hard to catch with standard testing and easy for a determined researcher to weaponize.

Coordinated disclosure worked as intended here. Coinspect worked with AWS before publishing, giving AWS time to ship a fix and issue a security bulletin ahead of public technical details landing on a research blog and in a netsec thread.

What To Do Now

First, identify every Firecracker deployment in your environment and check the version. Anything between 0.23.0 and 1.16.1 needs attention. Second, upgrade to Firecracker 1.16.2 or 1.17.0 or later as soon as your change process allows. Third, if immediate patching is not possible, audit whether your microVMs use the File memory backend combined with a balloon or virtio-mem device during snapshot restore. Removing that specific combination, where operationally feasible, closes the exploitation path until you can patch. Fourth, review the AWS security bulletin at aws.amazon.com/security/security-bulletins/2026-169-aws for guidance specific to managed AWS services that run on Firecracker. Fifth, read Coinspect's full write-up for the technical exploitation details and use it to inform detection logic if your platform logs guest-to-host memory access anomalies. There is no indication in the disclosure that this flaw has been exploited outside of Coinspect's research, but any multi-tenant platform running affected versions should treat patching as a priority task, not a backlog item.

Read the source →