Skip to content
Heist/ feed
Back to feed
High

containerd user ID handling bypass allows runAsNonRoot evasion

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-46680
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:07 UTC · Revision 1

Source evidence

containerd user ID handling bypass allows runAsNonRoot evasion

core-osv · Original source

Published 1 Jul 2026, 17:40 UTC

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.

osv:CVE-2026-46680
Complete source record
{
  "id": "6734f66fa11c4507dd43d862c4b39fe6a3c69ebc0491fa0f2329230141f520a3",
  "url": "https://osv.dev/vulnerability/CVE-2026-46680",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "containerd user ID handling bypass allows runAsNonRoot evasion",
    "summary": "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.",
    "evidence": "osv:CVE-2026-46680",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-46680",
      "aliases": [
        "CVE-2026-46680",
        "GHSA-fqw6-gf59-qr4w",
        "GO-2026-5378"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/containerd/containerd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "05044ec0a9a75232cad458027ca83437aae3f4da"
                },
                {
                  "fixed": "180a7b7385ae633344ff3db0db7eea11a4164f00"
                },
                {
                  "introduced": "1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20"
                },
                {
                  "fixed": "afde7ca73951a79a9fa145d6a579dcd7b15d6371"
                },
                {
                  "introduced": "061792f0ecf3684fb30a3a0eb006799b8c6638a7"
                },
                {
                  "fixed": "193637f7ee8ae5f5aa5248f49e7baa3e6164966e"
                },
                {
                  "introduced": "2976f38ccbfcda5ef1364d63d60b0a304e4bf94a"
                },
                {
                  "fixed": "64b425cf570b3b8dd1d4cc46da7c1fce65c6651a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.7.27"
                      },
                      {
                        "fixed": "1.7.32"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.4"
                      },
                      {
                        "fixed": "2.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.2.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:containerd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.3.0"
                      },
                      {
                        "fixed": "2.3.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "api/v1.11.1",
            "v2.3.0",
            "v2.0.7",
            "v1.7.31",
            "v2.2.3",
            "v2.0.8",
            "v2.2.2",
            "v1.7.30",
            "v2.2.1",
            "v1.7.29",
            "v2.2.0",
            "api/v1.10.0",
            "v2.2.0-rc.1",
            "v2.2.0-rc.0",
            "api/v1.10.0-rc.0",
            "v2.2.0-beta.2",
            "v2.2.0-beta.1",
            "api/v1.10.0-beta.0",
            "api/v1.10.0-beta.1",
            "v2.2.0-beta.0",
            "v1.7.28",
            "v2.0.6",
            "v2.1.0",
            "v2.0.5",
            "v1.7.27",
            "v2.0.4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46680.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.746401089Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46680.json",
        "https://github.com/containerd/containerd/security/advisories/GHSA-fqw6-gf59-qr4w",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46680"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-269"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46680.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46680",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507038,
  "published_at": "2026-07-01T17:40:25.499+00:00"
}