Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPublish malicious Bake definition in untrusted repo
-
DeliveryVictim runs docker buildx bake
-
ExploitPathless secret ID interpreted as client-side pathname
-
Executionfs.read entitlement check bypassed on path mismatch
-
ImpactUnauthorized file or OCI layout contents exposed to build
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 docker-buildx Bake definition supplied by the attacker (UI:A) - this is the explicit prerequisite stated in the advisory ('Users who run untrusted Bake definitions are affected'). The specific triggers are: (1) a pathless secret whose ID Buildx interprets as a client-side pathname, causing a readable file to be exposed without the expected fs.read approval; or (2) a local OCI image layout referenced outside the project, where entitlement validation checks a different path representation than the one actually consumed. Limiting factors: environments that only build their own trusted, first-party Bake definitions are not exposed; there is no remote-unauthenticated path against a default build of trusted content, and impact is read-only (no code execution, write, or availability loss). |
| Impact | This is a genuine but moderate-priority issue, best characterized as an information-disclosure/entitlement-bypass flaw rather than a critical remote threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H with VI:N/VA:N) correctly reflects a confidentiality-only impact gated by required user interaction: a victim must actively choose to run an attacker-supplied ('untrusted') Bake definition, which is the single biggest limiting factor. No EPSS score, KEV listing, or POC was provided in the input, so by the precision rules this is 'no public exploit identified at time of analysis' - exploitation probability signals are simply absent, not low. There is no conflict between the CVSS vector and the description: both agree exploitation is user-interaction-dependent (the untrusted definition must be executed) and yields file/layout read exposure only, with no integrity or availability impact and no privilege gain. The score of 6.9 is driven almost entirely by VC:H; the practical risk is bounded by the fact that an operator must already be running definitions from an untrusted source (e.g. a cloned repository or supplied CI config). Net: real and worth patching (fix exists), but not an emergency for environments that only build trusted, first-party Bake definitions. |
| Exploit ScenarioDerived | An attacker publishes a repository (or supplies a CI pipeline) containing a malicious docker-buildx Bake definition. When a developer or CI runner executes |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 05, 2026
Information disclosure and entitlement bypass in Docker Buildx Bake allows an attacker-supplied Bake definition to read files that should have required an explicit fs.read entitlement approval. An unauthenticated attacker can craft a definition that exposes a readable file via a pathless secret whose ID is interpreted as a client-side pathname, or that consumes a local OCI image layout outside the project because entitlement validation checks a different path representation than the one actually used. Exploitation requires the victim to run an untrusted Bake definition (CVSS 4.0 AV:N/AC:L/PR:N/UI:A, assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N), impact is read-only with no code execution, write, or availability loss, and no public exploit has been identified at time of analysis; environments that build only their own trusted first-party Bake definitions are not exposed. This is a genuine but moderate-priority entitlement-bypass issue rather than a critical remote threat.
RemediationAI
Upgrade Docker Buildx to the vendor-released patch v0.37.2 (https://github.com/docker/buildx/releases/tag/v0.37.2), which corrects the entitlement validation so pathless secret IDs and out-of-project OCI layouts both trigger the expected fs.read approval; consult the advisory at https://github.com/docker/buildx/security/advisories/GHSA-p54p-jq4x-rc28 and the entitlement semantics at https://docs.docker.com/build/bake/reference/#targetentitlements. If immediate upgrade is not possible, the most effective compensating control is to stop running untrusted Bake definitions altogether - treat any Bake file from an external source as untrusted input, since the advisory explicitly scopes exposure to users who run such files; the trade-off is loss of convenience when consuming third-party or shared build definitions. Additional hardening: run builds in an isolated, least-privilege container or sandbox whose filesystem view contains no sensitive files, so a bypassed entitlement can only expose sandbox content (trade-off: added build setup complexity and possible breakage of builds that legitimately need host paths). Also review and pin entitlements in your own Bake targets, avoid pathless secrets that rely on client-side path resolution in favor of explicitly scoped secret sources, and prefer in-project OCI layouts; these reduce the attack surface but are not a substitute for patching, since the vulnerability lies in Buildx's validation logic rather than your definition. Note that no vendor-released patch exists other than v0.37.2 in the provided data, so downgrading is not a valid mitigation.
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 Bake is the declarative build front end for Buildx, driven by HCL/JSON/Compose-style Bake files that define targets, contexts, secrets, and entitlements. Underlying this CVE is CWE-862 (Missing Authorization): Buildx is supposed to gate sensitive build inputs behind entitlement checks - most notably the fs.read entitlement - and it advertises these controls in its Bake reference documentation (https://docs.docker.com/build/bake/reference/#targetentitlements). Two distinct paths break that gate. First, a pathless secret (a secret declared without a file/path source) has its ID interpreted by Buildx as a client-side pathname, so a readable file is surfaced to the build without the expected fs.read approval prompt. Second, a definition can point at a local OCI image layout located outside the project directory, and the entitlement validation inspects a different textual representation of the path than the one ultimately consumed, allowing a bypass of the check. The affected CPE entry, cpe:2.3:a:docker:docker_buildx:*:*:*:*:*:*:*:*, does not itself constrain a version range, so any release predating the vendor fix (v0.37.2) should be treated as potentially affected. Because the flaw is an authorization gap in path handling rather than a memory-safety or injection bug, the realistic consequence is silent disclosure of host-readable content into the build context, not execution.
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:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Untrusted definition delivered over network (AV:N) but must be run by the victim (UI:R); no auth needed (PR:N); read-only file exposure gives C:H, I:N, A:N.
Primary rating from Vendor (Docker).
CVSS VectorVendor: Docker
DescriptionCVE.org
Docker Buildx Bake does not request the expected fs.read approval for certain filesystem inputs. An untrusted Bake definition can expose a readable file through a pathless secret whose ID is interpreted as a client-side pathname, or consume a local OCI image layout outside the project after entitlement validation checks a different path representation. Users who run untrusted Bake definitions are affected.
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-92818
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB