containerd 2.3.6 → 2.4.1
3 releases · 38 breaking changes · 8 security fixes · 1 advisory fixed
8security38breaking0deprecated13feature4fix
Vulnerabilities fixed by this upgrade
- medium GHSA-5p7c-hggf-c748 containerd CRI plugin: mount and snapshot leak when container checkpoint restore fails
Breaking changes
- breaking Remove deprecated CRI and tracing configuration options: in 2.4.0
- breaking Remove enable_cdi in CRI runtime configuration (CDI is now always enabled) in 2.4.0
- breaking Remove bin_dir in CRI CNI configuration (use bin_dirs) in 2.4.0
- breaking Remove endpoint, protocol, and insecure in OTLP tracing processor configuration (use standard OTLP environment variables) in 2.4.0
- breaking Remove service_name and sampling_ratio in internal tracing configuration (use standard OpenTelemetry environment variables) () in 2.4.0
- breaking Remove restore in CreateContainer () in 2.4.0
- breaking 531b3a37b9 tracing: remove deprecated tracing config options in 2.4.0
- breaking ee024b7c99 tracing: remove deprecated otlp configs in 2.4.0
- breaking f7c654fb4f cri: remove deprecated cni bin_dir in 2.4.0
- breaking 4f7de25abb cri: remove enable_cdi config option in 2.4.0
- breaking 4d13856983 cmd: remove redundant empty slice flag values in 2.4.0
- breaking 211cde9039 cmd: remove uses of urfave/cli.Commands in 2.4.0
- breaking c52e77eccd cmd/ctr: remove unused pluginCmds in 2.4.0
- breaking plugins: remove some stray logrus imports () in 2.4.0
- breaking b845501327 plugins: remove some stray logrus imports in 2.4.0
- breaking 329998caa9 runtime/v2: remove the runtime-allow-mounts annotation in 2.4.0
- breaking Remove shim.Command form pkg () in 2.4.0
- breaking internal/cri/server: remove remaining uses of k8s.io/utils () in 2.4.0
- breaking 10e82fac8d internal/cri/server: remove remaining uses of k8s.io/utils in 2.4.0
- breaking internal/cri/bandwidth: remove dead code () in 2.4.0
- breaking fcb54dc5fa internal/cri/bandwidth: remove dead code in 2.4.0
- breaking Remove dependency on github.com/opencontainers/runtime-tools () in 2.4.0
- breaking cri: remove restore in CreateContainer () in 2.4.0
- breaking 91be73ba62 cri: remove restore in CreateContainer in 2.4.0
- breaking README: remove Go Report Card badge () in 2.4.0
- breaking 5de7b675c6 README: remove Go Report Card badge in 2.4.0
- breaking 0274924d74 gha: remove uses of "read-all" permissions in 2.4.0
- breaking 8722c46313 gha: buf-breaking: pin actions by sha in 2.4.0
- breaking pkg/archive: remove redundant github.com/moby/sys/sequential dependency () in 2.4.0
- breaking 35f753cc44 pkg/archive: remove redundant github.com/moby/sys/sequential dependency in 2.4.0
- breaking pkg/oci: WithUser: remove redundant isErrRange utility () in 2.4.0
- breaking 633a5be1c9 pkg/oci: WithUser: remove redundant isErrRange utility in 2.4.0
- breaking remove 1.26.2 from CI builds as it is not supported any longer due to… () in 2.4.0
- breaking pkg: remove unused nolint annotations () in 2.4.0
- breaking 899dee1f59 pkg: remove unused nolint annotations in 2.4.0
- breaking 1ef7086 ci: remove custom working-directories and GOPATH in 2.4.0
- breaking Remove dependency on github.com/opencontainers/runtime-tools (containerd/nri#305) in 2.4.0
- breaking c73186ea6 Makefile: remove go mod download from integration in 2.3.7
Security changes
- security CVE-2026-53493 in 2.4.1
- security vendor: github.com/go-jose/go-jose/v4 v4.1.5 (security) () in 2.4.0
- security docs/security: update security report triage criteria () in 2.4.0
- security fdf814c21a docs/security: update security report triage criteria in 2.4.0
- security CVE-2026-95839 in 2.3.7
- security GHSA-5p7c-hggf-c748 in 2.3.7
- security GHSA-8647-2jxj-p2rc in 2.3.7
- security GHSA-hc94-p972-ch66 in 2.3.7
Every release in between
securityCVE-2026-53493
featureFix bug where failed container start cleanup leaked tasks and prevented container removal ()
featureFix bug where container creation failed when SELinux relabeling was unsupported by the filesystem ()
featureFix content upload failures when retrying fetch content after reaching EOF ()
featureApply hardening to filter ID-mapping labels from image annotations during unpack ()
featureFix bug where arguments following "-" were dropped in "ctr images export" ()
featureFix bug where container command arguments were parsed as flags in "ctr run", "ctr containers create", "ctr tasks exec", and "containerd oci-hook" ()
featureFix bug where comma-separated flag values were incorrectly split in ctr subcommands ()
other9f7f70fc31 Prepare release notes for v2.4.1
other98e88f2afe Merge commit from fork
othere0c8eed120 Bound Walk references
otherddf544326a Bound Dispatch concurrency and references
othercri: don't leak task when StartContainer cleanup fails to delete task ()
fix9e8abe0405 cri: fix process leak when start cleanup fails to delete task
otherctr: preserve args after "-" in images export ()
otheracbdd57f0d ctr: preserve args after "-" in images export
fixctr: fix flag parsing issues in run, containers create, tasks exec, and oci-hook ()
othera2e9a5196e cmd/containerd: stop flag parsing on oci-hook
other2d0e53474d ctr: stop flag parsing before container command
othercri: tolerate wrapped ENOTSUP during relabel ()
othereb2dfa125d cri: tolerate wrapped ENOTSUP during relabel
othercore/unpack: don't honor id-mapping labels from image annotations ()
other429f317b55 core/unpack: tighten comments around id-mapping label filtering
othercc1b8a2dc5 core/unpack: don't honor id-mapping labels from image annotations
otherremotes: revert closing fetch readers at EOF ()
otherd265baec5a remotes: test fetch retries and HTTP reader lifetime
other9e8507bea8 Revert "remotes: close fetch reader immediately on EOF"
otherctr: disable slice flag separator on commands ()
other2543d23905 ctr: disable slice flag separator on commands
othervendor: github.com/fxamacker/cbor/v2 v2.9.4 ()
otherf00dd7552e vendor: github.com/fxamacker/cbor/v2 v2.9.4
othergithub.com/fxamacker/cbor/v2 v2.9.1 -> v2.9.4
breakingRemove deprecated CRI and tracing configuration options:
breakingRemove enable_cdi in CRI runtime configuration (CDI is now always enabled)
breakingRemove bin_dir in CRI CNI configuration (use bin_dirs)
breakingRemove endpoint, protocol, and insecure in OTLP tracing processor configuration (use standard OTLP environment variables)
breakingRemove service_name and sampling_ratio in internal tracing configuration (use standard OpenTelemetry environment variables) ()
breakingRemove restore in CreateContainer ()
breaking531b3a37b9 tracing: remove deprecated tracing config options
breakingee024b7c99 tracing: remove deprecated otlp configs
breakingf7c654fb4f cri: remove deprecated cni bin_dir
breaking4f7de25abb cri: remove enable_cdi config option
breaking4d13856983 cmd: remove redundant empty slice flag values
breaking211cde9039 cmd: remove uses of urfave/cli.Commands
breakingc52e77eccd cmd/ctr: remove unused pluginCmds
securityvendor: github.com/go-jose/go-jose/v4 v4.1.5 (security) ()
breakingplugins: remove some stray logrus imports ()
breakingb845501327 plugins: remove some stray logrus imports
breaking329998caa9 runtime/v2: remove the runtime-allow-mounts annotation
breakingRemove shim.Command form pkg ()
breakinginternal/cri/server: remove remaining uses of k8s.io/utils ()
breaking10e82fac8d internal/cri/server: remove remaining uses of k8s.io/utils
breakinginternal/cri/bandwidth: remove dead code ()
breakingfcb54dc5fa internal/cri/bandwidth: remove dead code
breakingRemove dependency on github.com/opencontainers/runtime-tools ()
breakingcri: remove restore in CreateContainer ()
breaking91be73ba62 cri: remove restore in CreateContainer
securitydocs/security: update security report triage criteria ()
securityfdf814c21a docs/security: update security report triage criteria
breakingREADME: remove Go Report Card badge ()
breaking5de7b675c6 README: remove Go Report Card badge
breaking0274924d74 gha: remove uses of "read-all" permissions
breaking8722c46313 gha: buf-breaking: pin actions by sha
breakingpkg/archive: remove redundant github.com/moby/sys/sequential dependency ()
breaking35f753cc44 pkg/archive: remove redundant github.com/moby/sys/sequential dependency
breakingpkg/oci: WithUser: remove redundant isErrRange utility ()
breaking633a5be1c9 pkg/oci: WithUser: remove redundant isErrRange utility
breakingremove 1.26.2 from CI builds as it is not supported any longer due to… ()
breakingpkg: remove unused nolint annotations ()
breaking899dee1f59 pkg: remove unused nolint annotations
breaking1ef7086 ci: remove custom working-directories and GOPATH
breakingRemove dependency on github.com/opencontainers/runtime-tools (containerd/nri#305)
+847 more items in the release notessecurityCVE-2026-95839
securityGHSA-5p7c-hggf-c748
securityGHSA-8647-2jxj-p2rc
securityGHSA-hc94-p972-ch66
featureApply hardening to not follow symlinks for container log files ()
featureApply hardening to reject image references with ".." path components ()
featureApply hardening to allowlist socket domains in the default seccomp profile ()
featureApply hardening to filter ID-mapping labels from image annotations during unpack ()
otherPrepare release notes for v2.3.7 ()
otherc8b271adb Prepare release notes for v2.3.7
otherUpdate to go1.26.9 ()
other320278f96 Update to go1.26.9
otherca3d94d2f Merge commit from fork
other9621a5f9c remotes/docker: bound parallel fetch readers
otherdff0d82dd Merge commit from fork
other2181d7baa images: skip malformed digests when computing referrer labels
other29ed4ba2e Merge commit from fork
other80885a94d content, remotes: bound reads to expected size
other5c6687786 Merge commit from fork
other2e17e62e2 cri: unmount checkpoint view on every CRImportCheckpoint return path
fixintegration/client: fix TestContainerExecLargeOutputWithTTY ()
fixda23fb7af integration/client: fix TestContainerExecLargeOutputWithTTY
othercri: should not follow log file ()
other50a18659f cri: should not follow log file
otherreference: reject .. path components that rewrite the host ()
otherb3dd30ae5 reference: reject .. path components that rewrite the host
othervendor: google.golang.org/grpc v1.83.2 ()
other993898bbf [release/2.3] vendor: google.golang.org/grpc v1.83.2
othercore/unpack: don't honor id-mapping labels from image annotations ()
otherfe408f2a4 core/unpack: tighten comments around id-mapping label filtering
other3ab5f9c0e core/unpack: don't honor id-mapping labels from image annotations
featureseccomp: Use an allow-list for socket domains ()
feature658428e2f seccomp: Use an allow-list for socket domains
otherConditional actions ()
breakingc73186ea6 Makefile: remove go mod download from integration
other030b7b3f7 ci: skip linters steps in private repositories
otherec6240e3e workflows: skip non-CI jobs in private forks
otherupdate runc binary to v1.5.2 ()
other63092f411 update runc binary to v1.5.2
othergo.opentelemetry.io/otel v1.43.0 -> v1.44.0
+14 more items in the release notes