Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft untrusted multi-target Bake definition
-
DeliveryVictim runs bake build locally
-
Exploitfs.read entitlement check skipped for targets
-
ExecutionUnapproved paths read by build
-
ImpactExpose client-accessible files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to run an untrusted Bake definition that builds multiple targets together (a single-target build does not exhibit the issue per the advisory); under unspecified 'certain conditions' the filesystem paths from some of those targets are not verified against the approved fs.read entitlements, exposing files accessible to the Buildx client. Limiting factors: the vector is local (AV:L), the victim must actively initiate the build of the attacker-controlled definition (UI:A), the condition is attacker-uncontrolled/intermittent (AT:P - 'sometimes'/'certain conditions'), and only Buildx versions v0.19.0 through v0.38.0 are affected (v0.38.1+ is fixed). Impact is limited to reading files already accessible to the Buildx client. The precise trigger mechanism is not described in the available sources. |
| Impact | This is a medium-severity authorization (entitlement) bypass, consistent with its CVSS 4.0 score of 5.6. The vector tells a restrained story: AV:L means the flaw is reached locally through the Buildx client rather than over a network, AT:P flags that exploitation depends on an attacker-uncontrolled condition (the advisory says paths escape entitlement checks only 'under certain conditions' / 'sometimes' in multi-target builds), and UI:A requires the victim to actively run the build. PR:N indicates no prior privileges are needed, but that is gated by the far stronger practical precondition that the victim must choose to run an untrusted Bake definition. Impact is confidentiality-only (VC:H, VI:N, VA:N): unauthorized read of files accessible to the Buildx client, not code execution or tampering. On exploitation signals: the input shows no CISA KEV listing, no EPSS probability, and no PoC - the sole reference is the Docker GHSA advisory itself, not exploit code. The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the picture of a genuine but conditional, interaction-dependent, confidentiality-only issue rather than a widely-weaponized flaw. Net: a real issue worth patching on a normal cadence, not a drop-everything emergency, and its priority is bounded by the requirement to run untrusted build definitions. Missing data to note: EPSS is absent, so widespread-exploitation probability cannot be quantified; the precise trigger condition ('certain conditions') is not described in the advisory. |
| Exploit ScenarioDerived | An attacker publishes a repository or supplies a Bake definition that builds multiple targets together and references filesystem paths outside the directories the victim intends to grant. When the victim runs the untrusted Bake definition, the fs.read entitlement approval is skipped for some targets under certain conditions, allowing files readable by the Buildx client to be exposed to the build without the expected approval prompt. No public exploit code is identified at the time of analysis; the only reference is the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 03, 2026
Docker Buildx versions v0.19.0 through v0.38.0 can skip the fs.read entitlement approval when a single Bake invocation builds multiple targets, allowing an untrusted Bake definition to read files that are accessible to the Buildx client without the expected approval prompt. The victim must actively run the attacker-controlled Bake definition, and the lapse occurs only under unspecified 'certain conditions' and only in multi-target builds; single-target builds are not affected per the advisory. Impact is limited to confidentiality of files already reachable by the Buildx client, and Docker fixed the issue in v0.38.1; no public exploit code or active exploitation is identified in the available data.
RemediationAI
Upgrade Docker Buildx to v0.38.1 or later, the version in which Docker states the issue is fixed, using the standard plugin upgrade path for your Docker installation and then confirming the installed Buildx version. The vendor's stated workaround until upgrading is to run only trusted Bake definitions, and to inspect Bake definitions before building to confirm they do not reference suspicious paths outside trusted directories; note that this is a procedural control that depends entirely on operator review, so it fails against a definition that appears benign. No other mitigations are described in the available sources. Advisory reference: https://github.com/docker/buildx/security/advisories/GHSA-xg6v-cv2h-2w5h.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Docker Buildx is the Docker CLI plugin that extends docker build with BuildKit-based features including Bake, a declarative HCL/JSON file format that defines groups of build targets and can be executed as a single invocation. Because Bake files can reference local build contexts and other filesystem paths, Buildx enforces an entitlements model in which sensitive capabilities such as fs.read require explicit user approval before the client grants access. The flaw is a CWE-863 incorrect authorization problem: when several targets are built together, the entitlement verification applied to filesystem paths from some of those targets is not performed against the approved set, so paths can be consumed without the fs.read approval that the model intends. The trigger condition is not described in the available sources beyond the advisory's statements that it occurs 'in certain conditions' and involves multi-target builds; the assessed vector reflects that the condition is intermittent and partly attacker-uncontrolled (AT:P) and that the victim must actively initiate the build (UI:A) on a local Buildx client (AV:L). No integrity or availability impact is assessed.
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
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Local, triggered only by running an untrusted Bake definition (UI:R) under intermittent conditions (AC:H); no privileges needed (PR:N); unauthorized file read makes it confidentiality-only (C:H, I:N, A:N).
Primary rating from Vendor (docker).
CVSS VectorVendor: docker
Lifecycle Timeline
2DescriptionCVE.org
In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition that builds multiple targets together may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, filesystem paths from some targets are not verified against the approved entitlements. Users who run untrusted Bake definitions may be affected. The issue is fixed in v0.38.1.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-116536
NVD
CVE.org
GitHub
Exploit-DB