GHSA-xhf5-7wjv-pqxp

Suggest an improvement
Source
https://github.com/advisories/GHSA-xhf5-7wjv-pqxp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xhf5-7wjv-pqxp/GHSA-xhf5-7wjv-pqxp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xhf5-7wjv-pqxp
Aliases
Downstream
Published
2026-06-19T19:35:31Z
Modified
2026-09-10T03:51:09Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
containerd CRI — image-config `LABEL` flows to restart-monitor `binary://` logger: host-root command execution from an image pull
Details

Impact

A bug was found in containerd where the CRI plugin propagates labels from an image config (LABEL instruction in Dockerfile) to a container without validation. This may result in executing an arbitrary command on the host, via a plugin that consumes container labels for some operations.

Patches

This bug has been fixed in the following containerd versions:

  • 2.3.2
  • 2.2.5
  • 2.1.9
  • 2.0.10
  • 1.7.33

Users should update to these versions to resolve the issue.

Workarounds

Ensure that only trusted images are used.

Credits

The containerd project would like to thank Anthropic Research, in collaboration with Claude, the GKE Security Team using Gemini, and Robert Prast (@robertprast) for independently discovering and responsibly disclosing this issue in accordance with the containerd security policy.

For more information

If you have any questions or comments about this advisory:

To report a security issue in containerd:

Database specific
{
    "cwe_ids": [
        "CWE-74"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-06-19T19:35:31Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

Go
github.com/containerd/containerd

Package

Name
github.com/containerd/containerd
View open source insights on deps.dev
Purl
pkg:golang/github.com/containerd/containerd

Affected ranges

Type
SEMVER
Events
Introduced
1.7.0
Fixed
1.7.33

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xhf5-7wjv-pqxp/GHSA-xhf5-7wjv-pqxp.json"
github.com/containerd/containerd/v2

Package

Name
github.com/containerd/containerd/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/containerd/containerd/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.10

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xhf5-7wjv-pqxp/GHSA-xhf5-7wjv-pqxp.json"
github.com/containerd/containerd/v2

Package

Name
github.com/containerd/containerd/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/containerd/containerd/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.1.0
Fixed
2.1.9

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xhf5-7wjv-pqxp/GHSA-xhf5-7wjv-pqxp.json"
github.com/containerd/containerd/v2

Package

Name
github.com/containerd/containerd/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/containerd/containerd/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.2.0
Fixed
2.2.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xhf5-7wjv-pqxp/GHSA-xhf5-7wjv-pqxp.json"
github.com/containerd/containerd/v2

Package

Name
github.com/containerd/containerd/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/containerd/containerd/v2

Affected ranges

Type
SEMVER
Events
Introduced
2.3.0
Fixed
2.3.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-xhf5-7wjv-pqxp/GHSA-xhf5-7wjv-pqxp.json"