Remote Code Execution in Docker Buildx (CVE‑2026‑93325) Threatens Container Build Pipelines
What It Is — Docker Buildx, the multi‑platform build tool that extends Docker’s core capabilities, contains a critical flaw (CVE‑2026‑93325) that lets a remote attacker execute arbitrary code on the host running the tool. The vulnerability lives in the processing of bake definition files—YAML‑style manifests that describe multi‑stage builds. Because Buildx fails to enforce its Filesystem Entitlements Protection Mechanism when parsing these files, a crafted bake definition can cause the Buildx process to run attacker‑controlled commands in the context of the current user.
The attack vector requires minimal user interaction: the victim must either visit a malicious web page that triggers a download of a crafted bake file, or open a malicious file directly on a workstation that has Buildx installed. Once the file is processed, the attacker gains the same privileges as the user running the Docker client, which on many CI/CD agents is a privileged account with access to the host’s Docker daemon and underlying filesystem.
The vulnerability scores 7.8 (High) on the CVSS v3.1 scale (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H). The “Local” attack vector reflects the need for a user‑initiated action, while the “Low” complexity and “No Privileges Required” metrics highlight how easy it is for an attacker to succeed once the bait is accepted.
Docker published an advisory on 15 October 2026 (ZDI‑26‑758 / ZDI‑CAN‑31688) and released a patched version of Buildx the same day. The advisory (GHSA‑gwr2‑q96m‑6682) details the fix: the Buildx code now correctly validates bake definition file paths against the entitlement policy before any filesystem operation is performed.
Affected Products — Docker Buildx (all versions prior to the 2026‑10‑15 patch).
Why It Matters for Trust & Control Assurance — The flaw highlights the need for robust configuration‑management and build‑pipeline integrity controls. Organizations that can map this gap to a single control objective—secure configuration and change management of build tools—simultaneously address requirements across NIST CSF 2.0, ISO 27001, and other frameworks.
Recommended Actions
- Apply Docker’s patch immediately – upgrade Buildx to the version released on 15 Oct 2026.
- Audit bake definition files – scan existing build manifests for unexpected commands or path traversals.
- Enforce least‑privilege CI/CD agents – run Buildx under non‑root accounts and restrict Docker daemon socket access.
- Integrate integrity verification – add hash‑based validation of build definition files into your pipeline.
- Document the change – capture upgrade evidence and updated policies for audit readiness.
Source: Zero Day Initiative advisory