CVE-2026-33997 Moby: Off-by-one error in plugin privilege validation

Medium 6.8 Published Updated

Attackers can bypass plugin privilege validation during installation, allowing unauthorized privilege escalation in Moby container environments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-33997?

CVE-2026-33997 is a medium-severity vulnerability in moby, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Moby is an open source container framework. Prior to version 29.3.1, a security vulnerability has been detected that allows plugins privilege validation to be bypassed during docker plugin install. Due to an error in the daemon's privilege comparison logic, the daemon may incorrectly accept a privilege set that differs from the one approved by the user. Plugins that request exactly one privilege are also affected, because no comparison is performed at all. This issue has been patched in version 29.3.1.

Weakness: CWE-266, CWE-193

Which versions are affected by CVE-2026-33997?

9 open source packages ship an affected version, including github.com/moby/moby, github.com/docker/docker and github.com/moby/moby/v2. It affects 1 product.

PackageAffectedFixed in
github.com/moby/moby GoAll versionsNone
github.com/moby/moby GoAll versionsNone
github.com/moby/moby GoAll versionsNone
github.com/docker/docker GoAll versionsNone
github.com/docker/docker GoAll versionsNone
github.com/docker/docker GoAll versionsNone
3 more packages
github.com/moby/moby/v2 GoAll versions2.0.0-beta.8
github.com/moby/moby/v2 GoAll versions2.0.0-beta.8
github.com/moby/moby/v2 GoAll versions2.0.0-beta.8

Products include Docker Engine.

How do I fix CVE-2026-33997?

Apply the vendor's patch.

Is CVE-2026-33997 being exploited?

There is no known exploitation of CVE-2026-33997 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-33997, CLEANSTART-2026-BP86434, CLEANSTART-2026-FH32149, CLEANSTART-2026-GW50856, CLEANSTART-2026-KV26372, CLEANSTART-2026-PT56990 and 219 more.

Is CVE-2026-33997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free