Practical technical guides / Recent development: PwnEscape Part 2, Firecracker guest-to-host (HN 2026-11-05; CVE-2026-99999)

A Firecracker Guest Escape Ran Without the Jailer: Patch the Host Kernel and Treat the Jailer as the Boundary

PwnEscape Part 2 took over a Firecracker VMM from the guest via Linux CVE-2026-99999, on a host with no jailer. Patch, jail every VMM, keep secrets off the host.

By Sandeep Belgavi · Published 2026-11-07

The jailer is the boundary after a VMM escape
Original explanatory diagram; synthetic values where shown.

PwnEscape Part 2 took over a Firecracker VMM from the guest via Linux CVE-2026-99999, on a host with no jailer. Patch, jail every VMM, keep secrets off the host.

Why this matters for agent sandboxes

Code-writing agents increasingly run untrusted code inside microVMs, and Firecracker is one of the most common choices. So a published guest-to-host escape that ends with root on a Firecracker host is news for anyone running agents that way. The second part of the PwnEscape write-up from pwn.ai, which reached Hacker News on 5 November 2026, describes exactly that. The most important sentence in it is easy to miss: "The configuration used here had no jailer."

This guide explains the chain at the level needed to make decisions, separates what was demonstrated from what was not, and turns the result into an audit you can run against your own hosts. Nothing here was exploited or reproduced; the companion code only reads a host inventory you collect.

The bug is in the host kernel, not the hypervisor

Part 1, posted in October, describes the root cause. Working on Vercel's sandbox challenge announced on 18 August 2026, the researchers found that guest-controlled checksum metadata could make the host's Linux networking stack rewrite an IPv4 header after the kernel had already validated it. The deferred checksum completion in IPv4 fragmentation wrote over bytes that had been parsed as the header, which made the fragmenter treat 40 extra bytes as IPv4 options and copy 32 bytes beyond the packet's logical data: a host-memory disclosure. In their own KVM lab fixture they later extended this to "selected 64-byte host-kernel writes".

The upstream fix is Linux commit 6785011f8b16, "ipv4: validate checksum_start before completing checksum", applied on 8 October 2026. Its message describes it as "a defence in depth measure" and says "A more complete validation at input is forthcoming, but needs more work." NVD published CVE-2026-99999 on 15 October with a secondary CVSS 3.1 score of 9.3; as of 7 November its status still read Received, meaning NVD had not yet completed its own analysis.

Because the flaw sits in the host's networking path, the hypervisor itself never has to be broken. Any host that forwards guest packets through the affected code is in scope, whatever VMM it runs.

What Part 2 demonstrated

Part 2 starts from that host-memory access and takes over a running Firecracker vCPU thread from inside the guest. In outline: place a known nonce in a guest page, find that page's host physical address through the extended page tables, map back to the Firecracker process's page tables, identify the Firecracker binary in memory, and find the saved registers of a vCPU thread sitting in the KVM_RUN ioctl. Changing that saved frame makes Firecracker execute a chosen call when it returns from KVM; the demonstration called Firecracker's own write wrapper to emit a marker and then resumed normally, and the guest stayed reachable over SSH.

The test conditions decide what that means. The authors state the target was "Firecracker v1.16.1 on x86-64, with host kernel 7.0.0-1011-aws", that they "launched Firecracker directly as root under systemd-run", and that "consequently, the controlled call executed as root on the host". They are explicit about the limit: Firecracker's production containment "includes dropping privileges and restricting the process through namespaces and seccomp", and "a deployment using those controls requires a separate assessment of the privileges and resources available after compromising its VMM".

So: code execution in the VMM process is demonstrated. Root on the host followed from running the VMM as root. A jailed deployment was not tested.

What the jailer changes

Firecracker's production host documentation says the VMM "should be started using the jailer binary that's part of each Firecracker release, or executed under process constraints equal or more restrictive than those in the jailer". The jailer documentation (v1.16.1) lists what it does before it execs Firecracker:

  • creates a chroot directory per VM and uses unshare() and pivot_root() to make it the process's root, so the host file system is not visible;
  • creates only the device nodes the VM needs, such as /dev/kvm and /dev/net/tun, inside the jail;
  • applies cgroup limits and optional resource limits;
  • can place the process in a new PID namespace and a given network namespace;
  • drops to the --uid and --gid you supply before running Firecracker.

Firecracker itself applies seccomp filters by default, which "limit the host system calls Firecracker can use" to "the bare minimum set". The production guide says use of --seccomp-filter or --no-seccomp in production is not recommended, and recommends a dedicated unprivileged user per VM, "to provide an extra layer of security for their individually owned resources in the unlikely case where any one of the jails is broken out of".

After a VMM compromise like Part 2's, an attacker holds what that process holds. Under the jailer that is one unprivileged user, a chroot with a few device nodes, a small syscall allowlist and cgroup limits. As root under systemd-run with no jail, it is the host. The kernel bug still matters in both cases, because a kernel write primitive can in principle bypass process controls; the authors say the kernel write chain needs a separate article. That is why patching comes first.

What to do

  1. Get the kernel fix onto every host that runs guests. Check for commit 6785011f8b16 or your distribution's advisory for CVE-2026-99999. A version string is not enough, because vendors backport fixes into older version numbers. Expect follow-up hardening, since the commit message promises more input validation.
  2. Run every Firecracker process under the jailer, with a unique unprivileged uid and gid per VM, default seccomp, cgroup limits and its own network namespace.
  3. Keep long-lived secrets off guest-running hosts. If Tanishka's team at Belgavi's Book Store runs a code-writing agent in microVMs, the order database password and payment keys should not be in any environment variable or readable file on those hosts. Fetch short-lived, narrowly scoped credentials inside the guest only when the task needs them.
  4. Treat the host as a sandbox tier, not a general server. No other workloads, minimal outbound access, and logs shipped off the host.

An audit you can run

The companion example reads a JSON inventory of a host (kernel fix evidence, each Firecracker process's parent, uid, arguments, chroot, network namespace and cgroup limits, host processes' environment variable names and readable files) and reports findings. On a synthetic host that mirrors the write-up's setup it reports nine findings with critical severity at the top:

SeverityFinding
criticalno evidence the kernel contains 6785011f8b16
criticalFirecracker not started by the jailer
criticalFirecracker runs as root
highno chroot directory
hightwo secret-looking environment variables on a host process
higha readable key file
warningno dedicated network namespace, no cgroup limits

On a synthetic jailed host with fix evidence, unique uids per VM, cgroups and no secrets, it reports one line: fix evidence found. The tests also check that a vendor advisory counts as fix evidence, and that disabling seccomp or sharing a uid between VMs is reported.

def audit_process(p):
    out = []
    if p.get('parent') != 'jailer':
        out.append(('critical', 'Firecracker not started by the jailer'))
    if p.get('uid', 0) == 0:
        out.append(('critical', 'Firecracker runs as root'))
    if '--no-seccomp' in p.get('args', []):
        out.append(('critical', 'seccomp disabled'))
    return out

Collect the inventory with your own tooling (process listings, /proc/<pid>/status and cgroup, package changelogs); the example deliberately does not reach into a live system.

What remains uncertain

The write-up's dates and claims are the authors'. They suggest other hypervisor environments are affected, which outsiders cannot yet assess. Whether a jailed Firecracker could be escalated to host root using the same kernel primitive is not shown either way. And upstream describes further validation as still to come, so a patched kernel today may not be the last kernel update this issue needs. The defensible position is the layered one the Firecracker documentation already recommends: patch the host, jail every VMM, and make sure the host has nothing worth stealing.

Primary references and authorship

Sources dated on or before 7 November 2026. Original explanation and synthetic examples by Sandeep Belgavi. Companion code: Sandeep-BA/agent-decision-lab/examples/python/microvm_host_audit. Views are my own and do not represent any employer, past or present.