Cloud Security · Updated December 5, 2026
Secure container checkpoint and restore: treating process state as privileged supply-chain data
A checkpoint is executable history. It can contain memory, credentials, capabilities, open resources and security state, so restoring it safely requires stronger identity, integrity and destination-policy controls than pulling an ordinary container image.
Checkpoint and restore can reduce restart time, preserve expensive in-memory computation and support forensic capture. The security mistake is treating the checkpoint as a passive image layer. It is closer to a privileged snapshot of a running principal.
Stable background
What a checkpoint can carry across time and environments
Container checkpoint tooling serializes process memory, registers, namespaces and open resources so execution can continue later. Depending on the workload and runtime, that state can include secrets already read into memory, effective capabilities, filesystem descriptors, network state and assumptions about kernel or runtime behavior.
Restoring the archive can therefore recreate authority that the destination manifest does not visibly request. A Pod specification that appears restricted cannot be considered the complete policy if restored process state can bring back broader credentials or security attributes.
Do not authorize restore because an artifact looks like a container image. Authorize the checkpoint creator, artifact lineage, destination workload and requested restored privileges as one transaction.
Architecture
Make trust explicit at every checkpoint boundary
| Boundary | Required evidence | Failure response |
|---|---|---|
| Creation | Workload identity, namespace, image digest, runtime and policy snapshot | Reject unauthorized capture; alert on sensitive workloads |
| Storage | Encryption, immutable digest, signer identity and retention class | Quarantine unsigned, mutable or expired artifacts |
| Transport | Authenticated channel and destination binding | Fail closed on provenance or integrity mismatch |
| Restore | Separate permission plus destination-policy compatibility | Start clean or require human exception |
| Retirement | Deletion record and key/credential invalidation | Revoke artifact and investigate residual copies |
Reference workflow
Separate capture, approval and restore
- Capture with a workload identity. Record the exact Pod, image and node/runtime versions together with the actor and reason for capture.
- Scan and classify. Treat memory and open files as secret-bearing data; apply retention and geographic controls before upload.
- Sign immutable metadata. Bind digest, creator, source policy, expiry and compatible destination constraints in an attestation.
- Authorize restore separately. A principal allowed to create or read checkpoints should not automatically be allowed to execute them.
- Validate at the destination. Compare the captured state with the current Pod specification, admission policy, seccomp/AppArmor profile, service account and network policy.
- Rotate ephemeral authority. Prefer workloads that reacquire short-lived credentials after restore. Invalidate credentials that may have been frozen in memory.
- Verify the resumed workload. Check health, identity, effective privileges, network connections and application invariants before receiving production traffic.
Policy compatibility
Restored state must not outrank the destination manifest
Admission control normally evaluates a declarative workload before processes start. Restore breaks that assumption if serialized state can recreate capabilities or resources that the current declaration would deny. The integration must either prove compatibility or refuse the restore.
Define an explicit compatibility contract: acceptable kernel and runtime versions, immutable source image digest, service-account rules, maximum checkpoint age, namespace scope and disallowed capabilities. A mismatch should result in a clean start, not a best-effort restore that silently weakens policy.
Operations
Design expiry, rollback and incident response before adoption
Checkpoint archives age badly. Application binaries, schemas, kernels, certificates and authorization state can all change while the artifact waits. Use short default lifetimes, test restores continuously in isolated environments and record which artifacts were executed where.
For incident response, preserve checkpoints only in a restricted forensic store and prevent them from entering a runnable registry path. A forensic capture may be valuable precisely because it contains credentials and attacker state; that also makes it dangerous production input.
Dated development · December 4, 2026
CRI-O ends support for container-level restore
CRI-O maintainers declared container-level restore unsupported across all supported versions. Their existing integration accepts specially annotated checkpoint images through the normal container-creation path but cannot enforce trusted-only input or guarantee that saved process privileges comply with the destination's requested security context. Checkpoint creation remains supported, and current patch releases default to checkpoint_only.
This is a support and threat-model decision, not a claim that CRIU itself violates its documented model. Pod-level checkpoint and restore is being designed with namespace-scoped resources, separate restore authorization and validation against the captured Pod specification, but it is not yet a supported replacement.
CRI-O maintainer announcement ↗ · Kubernetes checkpoint API documentation ↗ · CRIU image security model ↗
Implementation checklist
Before enabling checkpoint or restore
- Query every node's effective runtime configuration; do not rely on packaged defaults.
- Keep container-level restore disabled unless an enforceable trust path exists.
- Give create, read and restore separate permissions and audit events.
- Encrypt checkpoints and sign immutable provenance plus expiry metadata.
- Validate image digest, workload identity, security context and destination policy.
- Rotate credentials that may be serialized in memory.
- Test restore against supported kernel, CRIU and runtime combinations.
- Quarantine forensic checkpoints from any runnable artifact registry.
- Exercise expiry, revocation, clean-start fallback and incident investigation.
Continue with the Cloud & Infrastructure topic hub, the Security topic hub or the December 5 brief.