Description
containerd is an open-source container runtime. In versions prior to 1.7.32, 2.0.9, 2.2.4 and 2.3.1, containers launched with a numeric User directive that cannot be parsed as a 32-bit integer are incorrectly treated as a username, leading to runAsNonRoot evasion. If a crafted image provides an /etc/passwd file mapping this large numeric string to root, the container ultimately runs as root (UID 0). This allows the Kubernetes runAsNonRoot restriction to be bypassed, causing unexpected behavior for environments that require containers to run as a non-root user. This issue has been fixed in versions 1.7.32, 2.0.9, 2.2.4 and 2.3.1.
Published: 2026-07-01
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Containerd is an open‑source container runtime. In versions prior to 1.7.32, 2.0.9, 2.2.4, and 2.3.1, containers launched with a numeric User directive that cannot be parsed as a 32‑bit integer are incorrectly treated as a username, leading supplies an /etc/passwd file mapping an oversized numeric value to root causes the container to run as UID 0, thereby bypassing Kubernetes runAsNonRoot restrictions and allowing containers to execute with elevated privileges in environments that require non‑root execution.

Affected Systems

The flaw affects the containerd container runtime in all versions prior to 1.7.32, 2.0.9, 2.2.4, and 2.3.1. It applies to any deployment that relies on containerd to enforce non‑root execution policies, such as Kubernetes clusters using the runAsNonRoot field.

Risk and Exploitability

Based image that includes a specially crafted /etc/passwd file mapping an oversized numeric value to the root user. With a CVSS score of 7.3, the vulnerability poses a significant risk. The EPSS score indicates a low probability of exploitation (<1%), and the vulnerability is not listed in the CISA KEV catalog. Deploying a crafted image in the target environment, especially where custom images are allowed or image validation is insufficient, makes this vulnerability relevant.

Generated by OpenCVE AI on July 21, 2026 at 13:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update containerd2.0.9 or later, 2.2.4 or later, or 2.3.1 or later.
  • Validate all container images to ensure that numeric User directives do not exceed the 32‑bit integer limit, or remove any oversized numeric user settings before deployment.
  • Enforce Kubernetes admission controls or policies that verify the runAsNonRoot constraint and reject images that rely on numeric user directives that could be interpreted as usernames.

Generated by OpenCVE AI on July 21, 2026 at 13:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fqw6-gf59-qr4w containerd user ID handling bypass allows runAsNonRoot evasion
History

Fri, 03 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-681
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Thu, 02 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Containerd
Containerd containerd
Vendors & Products Containerd
Containerd containerd

Wed, 01 Jul 2026 17:45:00 +0000

Type Values Removed Values Added
Description containerd is an open-source container runtime. In versions prior to 1.7.32, 2.0.9, 2.2.4 and 2.3.1, containers launched with a numeric User directive that cannot be parsed as a 32-bit integer are incorrectly treated as a username, leading to runAsNonRoot evasion. If a crafted image provides an /etc/passwd file mapping this large numeric string to root, the container ultimately runs as root (UID 0). This allows the Kubernetes runAsNonRoot restriction to be bypassed, causing unexpected behavior for environments that require containers to run as a non-root user. This issue has been fixed in versions 1.7.32, 2.0.9, 2.2.4 and 2.3.1.
Title containerd user ID handling bypass allows runAsNonRoot evasion
Weaknesses CWE-269
References
Metrics cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Containerd Containerd
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-03T03:56:06.341Z

Reserved: 2026-05-15T21:46:51.547Z

Link: CVE-2026-46680

cve-icon Vulnrichment

Updated: 2026-07-02T12:51:41.289Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-07-01T17:40:25Z

Links: CVE-2026-46680 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T13:45:03Z

Weaknesses
  • CWE-269

    Improper Privilege Management

  • CWE-681

    Incorrect Conversion between Numeric Types