Skip to main content

containerd CVE-2026-46680

| EUVDEUVD-2026-41103 HIGH
Access of Resource Using Incompatible Type (Type Confusion) (CWE-843)
2026-05-21 https://github.com/containerd/containerd GHSA-fqw6-gf59-qr4w
7.3
CVSS 4.0 · Vendor: https://github.com/containerd/containerd
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious image with overflow USER and /etc/passwd root mapping
  2. Delivery
    Push image to registry trusted by target cluster
  3. Exploit
    Workload deploys image under runAsNonRoot policy
  4. Execution
    containerd misparses USER as username and resolves to UID 0
  5. Persist
    Container starts as root despite policy
  6. Impact
    Abuse in-container root for privileged actions or escape attempts

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control the container image being deployed - specifically, the image must declare a numeric USER directive whose value cannot be parsed as a signed 32-bit integer (greater than 2147483647), and the image's /etc/passwd must contain an entry mapping that exact numeric string to UID 0. The target environment must be running an affected containerd version (1.7.27-1.7.31, 2.0.4-2.0.8, 2.1.0-beta-2.2.3, or 2.3.0-beta-2.3.0) and must rely on Kubernetes runAsNonRoot (without an explicit numeric runAsUser) as a security boundary for the bypass to be meaningful. Limiting factors include: clusters that pin runAsUser to a numeric value in the Pod securityContext are not exploitable, Kubernetes 1.34+ is reportedly unaffected at the kubelet layer, and environments that only pull images from trusted sources have no realistic attack path.

Impact

No CVSS vector or EPSS score is provided in the input, and the issue is not listed in CISA KEV, so quantitative prioritization signals are limited. Realistically, exploitation requires the attacker to control the container image content (both the USER directive and /etc/passwd), so the practical threat model is supply-chain or multi-tenant clusters that pull untrusted images and rely on runAsNonRoot as a security boundary. The technical impact is high (full root inside the container, defeating a core Kubernetes pod-security control and enabling privileged in-container behavior such as binding low ports, modifying system files, and broader exploitation of any container-escape primitives), but exploitation is not automatable against arbitrary remote targets - it depends on image trust. The 'Memory Corruption' and 'Authentication Bypass' tags supplied with the intel are misleading: there is no memory corruption involved; this is logic confusion that bypasses a policy control. Defenders running Kubernetes 1.34+ or who enforce numeric runAsUser in their securityContext are already protected, lowering urgency for those environments.

Exploit ScenarioDerived

An attacker publishes a malicious container image to a registry the victim cluster trusts, setting the OCI USER directive to a numeric value larger than 2^31 (e.g., 4294967295) and including an /etc/passwd entry that maps that same string to UID 0. When a Kubernetes workload deploys this image under a PodSecurity policy that requires runAsNonRoot, containerd parses the oversized number as a username, resolves it to root via the image's own /etc/passwd, and starts the container as UID 0 - silently defeating the non-root requirement and giving the workload root inside the container for further post-exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 21, 2026

runAsNonRoot bypass in containerd allows crafted container images to execute as UID 0 despite Kubernetes security policies designed to prevent root execution. The flaw stems from containerd treating numeric USER directives that overflow a 32-bit integer as usernames, and if the image's /etc/passwd maps that string to root, the container runs as root. No public exploit identified at time of analysis, but the issue was responsibly disclosed by Lei Wang (@ssst0n3) and fixed in multiple containerd release branches.

RemediationAI

Vendor-released patch: upgrade to containerd 2.3.1, 2.2.4, 2.0.9, or 1.7.32 depending on your release branch, as documented in the upstream advisory at https://github.com/containerd/containerd/security/advisories/GHSA-fqw6-gf59-qr4w. Users on the end-of-life 2.1.x line must migrate to a supported branch since no fix will be backported. As a workaround until patching, restrict image sources so only trusted registries and users can push or import images, and in Kubernetes set an explicit numeric runAsUser in each Pod's securityContext - this overrides the image USER directive and neutralizes the bypass at the cost of having to manage UID assignments per workload. Upgrading the Kubernetes control plane to 1.34 or later also reportedly enforces runAsNonRoot correctly regardless of the runtime bug, though this requires a cluster-level upgrade with its own compatibility considerations.

Affected VersionsENISA

containerd 2.2.5, < 2.3.1
containerd 2.0.10, < 2.2.4
containerd < 1.7.32
containerd 2.0.4, < 2.0.9

Affected Packages

go github.com/containerd/containerd fix: 1.7.32
go github.com/containerd/containerd/v2 fix: 2.0.9, 2.2.4, 2.3.1
euvd containerd fix: 1.7.32, 2.0.9, 2.2.4, 2.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

containerd is the CNCF graduated container runtime that underpins Docker, Kubernetes (via CRI), and many managed Kubernetes services. The bug sits in containerd's user resolution logic for OCI image USER directives: when the value is numeric, containerd attempts to parse it as a 32-bit integer UID, and on parse failure (because the number exceeds int32 range) it falls back to treating the string as a username and looks it up in the image's /etc/passwd. This maps to CWE-843 (Type Confusion / Access of Resource Using Incompatible Type) because the same input is interpreted as two different types - numeric UID vs. username - depending on parse success. The affected packages per CPE data are go/github.com/containerd/containerd (v1.x) and go/github.com/containerd/containerd/v2 (v2.x), and the issue is closely related to the previously disclosed CVE-2024-40635 (GHSA-265r-hfxg-fhmg), suggesting incomplete remediation of the earlier user-parsing bug.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/containerd/containerd) PRIMARY 7.3 HIGH
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
SUSE 7.0 HIGH
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Red Hat 7.8 HIGH

Primary rating from Vendor (https://github.com/containerd/containerd).

CVSS VectorVendor: https://github.com/containerd/containerd

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jul 01, 2026 - 18:22 NVD
7.3 (HIGH)

DescriptionCVE.org

Impact

A bug was found in containerd where containers launched with a numeric User directive that cannot be parsed as a 32-bit integer are incorrectly treated as a username. 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.

Patches

This bug has been fixed in the following containerd versions:

  • 2.3.1
  • 2.2.4
  • 2.0.9
  • 1.7.32

Note: The containerd 2.1 release has reached its end of life and a fixed version is not provided.

Users should update to these versions to resolve the issue.

Workarounds

Ensure that only trusted images are used and that only trusted users have permissions to import images. Alternatively, enforcing a specific numeric runAsUser in the Kubernetes Pod securityContext overrides the USER directive in the image and prevents the bypass. Newer versions of Kubernetes, starting with 1.34, also appear to enforce runAsNonRoot properly regardless of this bug.

Credits

The containerd project would like to thank Lei Wang (@ssst0n3) for responsibly disclosing this issue in accordance with the containerd security policy.

Resources

  • https://github.com/advisories/GHSA-265r-hfxg-fhmg (CVE-2024-40635)

For more information

If there are any questions or comments about this advisory:

  • Open an issue in containerd
  • Send an email to [security@containerd.io](mailto:security@containerd.io)

To report a security issue in containerd:

Executive ViewAI

Why It Matters

containerd's runAsNonRoot security bypass allows maliciously crafted container images to execute as root (UID 0), circumventing Kubernetes security policies designed to prevent privilege escalation. No public exploit identified at time of analysis. Organizations operating Kubernetes clusters with containerd face risk of privilege escalation when untrusted container images are deployed.

Business Impact: High
Compensating Controls

Until vendor patch is released: enforce mandatory container image scanning and cryptographic signature verification; implement Pod Security Policies restricting image sources to trusted registries; deploy runtime monitoring to detect suspicious UID/GID execution; restrict container image pull permissions to approved internal registries only.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy