Containerd Checkpoint Restore: Testing the CreateContainer Security Context Bypass
A checkpoint restored through containerd's CRI CreateContainer API can keep source privileges and bypass the destination security context. Proof steps inside.

Containerd Checkpoint Restore: Testing the CreateContainer Security Context Bypass
TL;DR
containerd's CRI implementation restores a container from a checkpoint without re-applying the destination security context, so a checkpoint taken from a privileged or loosely confined container comes back with those privileges intact. The preconditions are concrete: the node needs the criu binary, and something must be able to hand an untrusted checkpoint to the CreateContainer call. Google's bulletin states that default GKE node images do not ship criu, so the real question is which of your custom node images, CI runners, or restore-enabled platforms do. Test it by restoring a permissive checkpoint into a hardened pod spec and diffing the effective credentials against what you requested; the proof is an action the hardened context should have blocked.
What this is
Container checkpoint and restore is a CRIU-backed feature: containerd freezes a running container's process tree, writes memory pages, file descriptors, namespaces, credentials, and confinement state into a checkpoint archive, and later recreates the process from that archive. Kubernetes exposes it through the kubelet's nodes/checkpoints subresource behind the ContainerCheckpoint feature gate; at the CRI level, CheckpointContainer produces an archive and CreateContainer can be asked to restore one.
The bug is a trust-boundary problem, not memory corruption. The restore path rebuilds the process from saved state. If the security context in the incoming CreateContainer request — capabilities, UID/GID, seccomp, AppArmor or SELinux label, no_new_privs — is not enforced on the restored process, the checkpoint's own state wins. GHSA-p7v4-vr35-mj6f describes that outcome: a container restored from an untrusted checkpoint through CreateContainer bypasses the destination security context and executes with elevated privileges.
Practitioner translation: this is an authorization question. Two contexts, one comparison, one piece of evidence. Treat it like a BOLA test where the object is a checkpoint and the "other user" is a privileged container.
Why it matters
The affected population is narrower than a typical CVE headline suggests, and that is the point.
- Self-managed clusters and custom node images where CRIU was installed for forensics, debugging, or snapshot-based fast start.
- Platforms that treat restore as a product feature: warm pools, fast-launch, session snapshotting, CI runners that resume prewarmed state.
- Multi-tenant clusters where checkpoint creation is granted broadly — RBAC wildcards, platform service accounts, CI identities.
What fails when you ignore it: the boundary you documented and the boundary the kernel enforces stop being the same boundary. A restricted namespace admits a pod whose spec says two capabilities and RuntimeDefault seccomp; the restored process arrives with its own mount table, credentials, and confinement. Reviewers see the spec. The kernel runs the checkpoint.
Detection inherits the same blind spot. Rules that alert on "a privileged pod was created" never fire, because nobody created one — the privilege arrived inside an archive. Google rates this Medium and states that default GKE clusters need no action; that is a statement about GKE's defaults, not about every node image running containerd.
How it works
A checkpoint archive carries the container's saved configuration alongside the CRIU images. On restore, containerd recreates the process from that state instead of from a fresh launch, and the destination request's Linux security fields are supposed to re-scope the result.
Version and status note: Google's bulletin published 2026-09-09 identifies the issue as GHSA-p7v4-vr35-mj6f with a CVE still pending and does not name fixed containerd releases in the excerpt available at publication. Before you write a version range into a finding, check the GHSA record for affected and patched builds and cite it. Do not assert an affected version from the containerd version string alone.
The precondition chain is what separates a scanner hit from a finding:
criuis present and reachable on the node.- containerd's CRI checkpoint/restore path is available, and, on Kubernetes, the
ContainerCheckpointgate is on wherever the platform relies on it. - A principal can submit a checkpoint —
createonnodes/checkpoints, a CRI client on the node socket, or a product feature that accepts a checkpoint reference. - The attacker can source a checkpoint from a less-confined context, either supplied or produced from a container they control.
Remove any link and the finding collapses. That is why exposure inventory, not CVE matching, drives the decision.
Detection and response

Telemetry that actually answers the question:
criuexecution. An auditdexecverule on/usr/sbin/criu, or a Falco rule onproc.name=criuoutside known maintenance windows.- CRI request logging. containerd debug logs record
CreateContainercalls that carry a checkpoint, andCheckpointContainerinvocations. Log who asked and which checkpoint digest they supplied. - Kubernetes audit.
createanddeleteonnodes/checkpointsis a cluster-level action; alert on it and on identities that hold it without a documented reason. - Spec-to-runtime divergence. For running containers, compare
CapEff,Uid:,Seccomp:, and the AppArmor label from/proc/1/statuswithsecurityContextin the pod spec. A mismatch is the signature of this class, whether or not the CVE is assigned. - Node image inventory. Which images ship
criu, and which build pipelines install it. Answer that per image, not per cluster.
Retain the archive hash, the source spec, the destination spec, and the effective capability mask. An alert without those four is a rumor.
What to do
- Inventory the binary. On each node type:
command -v criu, thendpkg -S $(command -v criu)orrpm -qf. Record the image digest. Default GKE images should come back empty. - Confirm the restore path. Check the containerd version and config, and whether the kubelet
ContainerCheckpointgate is enabled on any pool. - Establish a baseline. Run a hardened pod — non-root, all capabilities dropped,
RuntimeDefaultseccomp, read-only rootfs — and record/proc/1/status, the mount table, and a probe action that must fail, such as reading a host file you intentionally do not mount. - Produce a permissive checkpoint. From a deliberately over-privileged source container, take a checkpoint with
CheckpointContainerorctr. Keep the archive. - Restore into the hardened namespace. Submit
CreateContainerwith the checkpoint reference and the same restricted spec as the baseline. - Compare. Effective capabilities, UID/GID, seccomp mode, confinement label, and mounts against the spec. Divergence in the direction of the checkpoint is the bug.
- Prove impact. Perform the probe action that failed in step 3. Capture the command, its output, and the capability diff in one record. That record is the finding; the containerd version string is only its context.
- Retest after upgrade against the same archive, and keep the archive hash in the ticket so a second researcher can replay it.
FAQ
Does this affect default GKE clusters?
No. Google's bulletin states GKE node images do not include criu, and default clusters need no action. Exposure appears when you add runtime tooling to node images or run containerd outside GKE's defaults.
Is having criu installed enough to be exploitable?
No. You also need a reachable restore path and a way to submit an untrusted checkpoint. Both exist on platforms that treat checkpoint/restore as a feature; neither exists where nobody can call the CRI socket.
Can Pod Security Admission stop the restore? PSA evaluates the pod spec you submit, and the failure here is that the restored process does not inherit that spec's confinement. Keep PSA, but do not count it as the control for this path — the runtime divergence check is.
How do I check a fleet quickly?
Two queries: which node images contain the criu binary, and which principals hold create on nodes/checkpoints. Images with the binary plus identities with the permission are your short list.
Which containerd versions are affected? Check the GHSA record. At bulletin publication the CVE was pending and fixed releases were not listed in the excerpt; a version claim without that citation is guesswork.
Where this fits in a program
This belongs in the validation gate, not the patch queue. A scanner hit on a containerd build is a signal; the finding is a node image with criu, a reachable checkpoint path, and a restored process running outside its declared context. The steps above produce evidence a second person can replay. Trusteed's attack surface inventory and finding validation workflow are where the archive hash, the spec diff, and the retest result get attached to one record.
Sources
- Google Cloud security bulletins, GCP-2026-061: https://docs.cloud.google.com/support/bulletins/index#gcp-2026-061
- GitHub Advisory GHSA-p7v4-vr35-mj6f: https://github.com/advisories/GHSA-p7v4-vr35-mj6f
- containerd, CRIU and checkpoint/restore: https://github.com/containerd/containerd/blob/main/docs/criu.md
- Kubernetes, Kubelet Checkpoint API: https://kubernetes.io/docs/reference/node/kubelet-checkpoint-api/
- NIST SP 800-190, Application Container Security Guide: https://csrc.nist.gov/pubs/sp/800/190/final
- Trusteed CTEM: https://trusteed.io