containerd flagged for input-validation CVE

- containerd disclosed CVE-2026-46680 on May 20, 2026, a high-severity flaw that can let malformed image metadata bypass non-root runtime safeguards. - GitHub’s advisory says a numeric `USER` value that overflows 32-bit parsing can be treated as a username and resolve to root. - Fixed releases are containerd 2.3.1, 2.2.4, 2.0.9 and 1.7.32; the advisory is on GitHub.

containerd disclosed a high-severity security flaw on May 20 that affects how some containers interpret the `USER` directive in image metadata. The bug, tracked as CVE-2026-46680, can cause a runtime to treat an out-of-range numeric user value as a username instead of rejecting it. In the case described by the project, a crafted image can then map that string to root inside `/etc/passwd` and start as UID 0. GitHub’s advisory says the issue can bypass Kubernetes’ `runAsNonRoot` restriction in environments that rely on containerd. ### How does a malformed `USER` field turn into a root container? GitHub’s advisory says the flaw appears when a container image uses a numeric `User` value that cannot be parsed as a 32-bit integer. Instead of failing closed, containerd incorrectly treats that large numeric string as a username. If the image also includes an `/etc/passwd` entry that maps the same string to root, the container ultimately runs as UID 0, according to the advisory. (github.com) containerd described the issue in its release notes as a fix for “out-of-range USER values in OCI spec” to avoid unexpected username and group lookups. That wording matches the advisory’s account of the bug path: parsing fails, lookup falls back, and the fallback can resolve to root. ### Where does Kubernetes enter the picture? (github.com) Kubernetes is implicated because the advisory says the bug can evade `runAsNonRoot`, a control used to prevent workloads from starting as root. In clusters that depend on containerd to enforce the image’s runtime user handling, a pod that appears non-root at policy level could still start as root if it uses a crafted image matching the advisory’s conditions. (github.com) The advisory does not say every Kubernetes or Docker deployment is automatically exposed. It says the unsafe behavior depends on containerd versions affected by the flaw and on an image that supplies the malformed `USER` value together with a matching `/etc/passwd` mapping. ### Which versions are fixed, and which branch is not? (github.com) containerd said patched versions are 2.3.1, 2.2.4, 2.0.9 and 1.7.32. The project also said the 2.1 release line has reached end of life and will not receive a fix. GitHub’s advisory lists the issue as high severity and shows it was published on May 20, 2026. (github.com) The containerd releases page ties the security update to the same CVE and to the code changes that harden user parsing behavior. ### What should operators check first? Operators should first identify whether their nodes or local runtimes are using one of the affected containerd branches rather than a fixed release. (github.com) The next check is whether admission policies or deployment pipelines allow untrusted images that could set a malformed numeric `USER` value and ship a custom `/etc/passwd` file. Those checks follow directly from the conditions described in the advisory. (github.com) The release notes show the fix shipped alongside other hardening changes, including a seccomp policy update that blocks `AF_ALG` in the default socket policy. That places the CVE in a broader security update set, but the user-handling flaw is the item tied specifically to `runAsNonRoot` evasion. ### What happens next for users on affected systems? (github.com) containerd’s next step for affected users is straightforward: upgrade to 2.3.1, 2.2.4, 2.0.9 or 1.7.32, depending on branch, or move off 2.1 because no fixed release is planned for that end-of-life line. The full advisory and patched release notes are published on GitHub as of May 20 and May 21, 2026. (github.com 1) (github.com 2)

Get your own daily briefing

Scout delivers personalized news, insights, and conversations tailored to your role and industry.

Download on the App Store

Shared from Scout - Be the smartest in the room.