Skip to main content

Docker Engine (Moby) CVE-2026-33997

HIGH
Off-by-one Error (CWE-193)
2026-03-27 https://github.com/moby/moby
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Publish malicious plugin to registry
  2. Delivery
    Advertise benign privilege manifest
  3. Exploit
    Admin runs docker plugin install
  4. Install
    Approve displayed privileges
  5. C2
    Daemon skips first/only privilege check
  6. Execute
    Plugin loads with unapproved device access
  7. Impact
    Escalate to host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Exploitation Conditions

Exploitation requires (1) the target host to actually use legacy Docker engine plugins via 'docker plugin install' - Docker Desktop does not support plugins and is therefore unaffected; (2) an administrator with daemon access to perform the plugin install and click through the privilege approval prompt (UI:R in CVSS); and (3) the attacker to control a malicious plugin image that the administrator is willing to install. The bug triggers most reliably when the plugin declares exactly one privilege (no comparison is performed at all) or when the divergent privilege happens to be the first entry after sorting (off-by-one skips index 0). There are no special daemon configuration flags or network exposure requirements beyond normal plugin usage.

Impact

CVSS 3.1 base score is 8.1 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N), but multiple corroborating signals indicate substantially lower real-world urgency: EPSS is 0.01% (1st percentile), CISA SSVC records Exploitation:none and Automatable:no while still rating Technical Impact:total, and this CVE is not in CISA KEV. The CVSS UI:R component captures the requirement that an administrator must actually invoke 'docker plugin install' against an attacker-supplied plugin, and the vendor explicitly notes legacy Docker plugins are uncommon and Docker Desktop is unaffected. Net effect: high theoretical impact (privilege boundary bypass that can grant device-level host access) but a narrow exploitation surface, making this a moderate-priority patch for environments that actually use Docker engine plugins and a low priority elsewhere. No conflicting signals between sources were observed.

Exploit ScenarioDerived

An attacker publishes a malicious Docker plugin whose manifest advertises a benign-looking privilege (e.g., a single 'network: host' entry) while the plugin's actual configuration includes an additional sensitive privilege such as 'allow-all-devices'. When an administrator runs 'docker plugin install' and approves what they see, the off-by-one comparison silently accepts the divergent privilege set, granting the plugin elevated host access such as device passthrough. No public exploit code is identified, but the bug is trivially reachable for anyone who can craft a plugin and lure an admin into installing it.

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

AnalysisAIv3 – Jun 16, 2026

Plugin privilege validation bypass in Moby/Docker Engine prior to 29.3.1 (and Moby v2 before 2.0.0-beta.8) allows a malicious plugin to be installed with a privilege set that differs from what the user approved during 'docker plugin install'. The off-by-one in the daemon's comparison loop skips the first sorted privilege entry, and plugins requesting exactly one privilege bypass comparison entirely, potentially granting sensitive capabilities such as broad device access. No public exploit identified at time of analysis, EPSS is 0.01%, and SSVC marks exploitation as none but technical impact as total.

Earlier versions of this analysis (2)
v2 Jun 16, 2026 - 15:00 cvss changed CVSS 8.1

Plugin privilege validation bypass in Moby/Docker Engine before 29.3.1 (and Moby v2 before 2.0.0-beta.8) allows a malicious plugin to be installed with privileges different from those approved by the user during docker plugin install. The flaw is an off-by-one in the daemon's comparison loop (and the absence of any comparison when only one privilege is requested), letting an attacker smuggle dangerous capabilities such as broad device access past the operator's approval prompt. No public exploit identified at time of analysis, EPSS is 0.01%, and SSVC marks exploitation as 'none' despite the 'total' technical impact rating.

v1 Mar 27, 2026 - 18:00 CVSS 6.8

Docker daemon privilege validation logic in plugin installation contains a comparison error that allows malicious plugins to bypass approval checks and request unintended privileges, including sensitive device access permissions. The vulnerability affects Docker and Moby (pkg:go/github.com_docker_docker, pkg:go/github.com_moby_moby) across multiple versions, with CVSS 6.8 reflecting high confidentiality and integrity impact. Exploitation requires installation from a malicious plugin source and user interaction during the install prompt, but no active public exploitation has been confirmed.

RemediationAI

Vendor-released patch: upgrade Docker Engine/Moby to 29.3.1 or later (https://github.com/moby/moby/releases/tag/docker-v29.3.1), or to moby/v2 2.0.0-beta.8 if tracking the v2 branch; the fix commit is f4d6f25bf0c3fa12d4968320a45685947756a22a. Distribution users should apply vendor updates such as SUSE-SU-2026:1205. If immediate patching is not possible, do not install plugins from untrusted sources, restrict access to the Docker daemon socket to trusted administrators (least privilege), carefully audit every privilege shown by 'docker plugin install' before approving, and stop treating the plugin approval prompt as a sole security boundary for sensitive hosts; note that simply not using legacy plugins fully avoids the issue but disables any workflow that depends on them. Full advisory: https://github.com/moby/moby/security/advisories/GHSA-pxq6-2prw-chj9.

Affected Packages

go github.com/docker/docker no fix
go github.com/moby/moby no fix
go github.com/moby/moby/v2 fix: 2.0.0-beta.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in go

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

Technical ContextAI · show details

The flaw resides in Moby's daemon plugin manager (daemon/pkg/plugin/manager.go) within the legacy plugin system that runs out-of-process plugins managed by dockerd. The isEqual helper used to compare the required privilege set against the user-approved set iterated from index 1 instead of 0 ('for i := 1; i < arrOne.Len(); i++'), a classic CWE-193 off-by-one, so the first sorted privilege was never compared. Additionally, when only one privilege was requested, the loop body never executed and any value mismatch was silently accepted. The fix replaces the hand-rolled comparison with a normalizePrivileges helper plus slices.Equal, ensuring full element-wise comparison including the value slice for every privilege. Affected packages are pkg:go/github.com/docker/docker, pkg:go/github.com/moby/moby, and pkg:go/github.com/moby/moby/v2; Docker Desktop is not affected because it does not support legacy plugins.

Know when Docker 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

NVD PRIMARY 8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 8.1 HIGH

Plugin pulled over the network with no prior auth (AV:N/PR:N), but an admin must approve the install (UI:R); successful bypass can grant device/host access yielding high C and I, no direct availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 6.8 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Red Hat 8.4 HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

6
Analysis Updated
Jun 16, 2026 - 15:01 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 16, 2026 - 15:00 vuln.today
v2 - CVSS changed
Severity Changed
Jun 16, 2026 - 14:52 NVD
MEDIUM HIGH
CVSS changed
Jun 16, 2026 - 14:52 NVD
6.8 (MEDIUM) 8.1 (HIGH)
Patch released
Mar 27, 2026 - 18:00 nvd
Patch available
CVE Published
Mar 27, 2026 - 17:38 nvd
MEDIUM 6.8

DescriptionNVD

Summary

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.

Impact

If plugins are not in use, there is no impact.

When a plugin is installed, the daemon computes the privileges required by the plugin's configuration and compares them with the privileges approved during installation. A malicious plugin can exploit this bug so that the daemon accepts privileges that differ from what was intended to be approved.

Anyone who depends on the plugin installation approval flow as a meaningful security boundary is potentially impacted.

Depending on the privilege set involved, this may include highly sensitive plugin permissions such as broad device access.

For consideration: exploitation still requires a plugin to be installed from a malicious source, and Docker plugins are relatively uncommon. Docker Desktop also does not support plugins.

Workarounds

If unable to update immediately:

  • Do not install plugins from untrusted sources
  • Carefully review all privileges requested during docker plugin install
  • Restrict access to the Docker daemon to trusted parties, following the principle of least privilege
  • Avoid relying on plugin privilege approval as the only control boundary for sensitive environments

Credits

  • Reported by Cody (c@wormhole.guru, PGP 0x9FA5B73E)

Executive ViewAI

Why It Matters

Docker Engine and Moby have a privilege validation vulnerability in plugin installation that allows malicious plugins to exceed their approved permissions, potentially compromising containerized applications and host infrastructure. Organizations operating Docker-based production systems face direct risk of unauthorized access and lateral movement within their container environments. Patching to Docker Engine 29.3.1 or Moby v2 2.0.0-beta.8 is required within 7 days.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Data Quality
7 sources
Confidence: High
NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

pkg:go/github.com_docker_docker
pkg:go/github.com_moby_moby
pkg:go/github.com_moby_moby_v2

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 12 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Micro 5.2 Fixed
SUSE Linux Enterprise Micro 5.3 Fixed

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