Incorrect Execution-Assigned Permissions Affecting github.com/containerd/containerd/v2/cmd/containerd/server package, versions <2.0.7>=2.1.0-beta.0 <2.1.5>=2.2.0-beta.0 <2.2.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCONTAINERDCONTAINERDV2CMDCONTAINERDSERVER-13845739
  • published6 Nov 2025
  • disclosed6 Nov 2025
  • creditDavid Leadbeater

Introduced: 6 Nov 2025

NewCVE-2024-25621  (opens in a new tab)
CWE-279  (opens in a new tab)

How to fix?

Upgrade github.com/containerd/containerd/v2/cmd/containerd/server to version 2.0.7, 2.1.5, 2.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Execution-Assigned Permissions when initialising host directories with 711 and 755 permissions instead of 700. An attacker can gain unauthorized access to sensitive data and potentially escalate privileges by accessing directories with insufficiently restrictive permissions. This is only exploitable if a local user has access to the host system where the affected directories are present.

Workaround

This vulnerability can be mitigated by manually setting the permissions of the affected directories (/var/lib/containerd, /run/containerd/io.containerd.grpc.v1.cri, /run/containerd/io.containerd.sandbox.controller.v1.shim, temp in the daemon configuration) to 700 or by running the process in rootless mode.

References

CVSS Base Scores

version 4.0
version 3.1