Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim runs attacker-supplied Bake definition
-
DeliveryDefinition references path reusing cwd basename prefix
-
Exploitfs.read entitlement check is skipped
-
ExecutionNeighboring file read without approval
-
ImpactLimited file contents exposed to client
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection 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 actively run an UNTRUSTED Bake definition in Docker Buildx (v0.19.0-v0.38.0); it is not remotely reachable and only triggers through this user action (UI:A). The specific prerequisite from the advisory: a target path must use the current working directory's basename as a prefix and reside under the same parent directory as the working directory, AND a file with a specifically matching filename must exist next to the current project directory. Limiting factors: only confidentiality is affected and only at Low (unauthorized read of client-accessible files, not write or execution); the attacker cannot choose arbitrary paths, only ones satisfying the basename-prefix/matching-filename pattern; and users who build only trusted Bake definitions are not affected. The vendor's stated workaround is to run only trusted Bake definitions and inspect them for suspicious paths outside trusted directories until upgrading to v0.38.1+. |
| Impact | This is a genuinely low-priority issue, and the signals agree rather than conflict. The vendor (Docker) CVSS 4.0 vector scores it 1.8 (Low) with AV:L (local), AT:P (a specific attack requirement must hold), UI:A (active user participation), and only VC:L confidentiality impact with no integrity or availability impact - meaning the worst outcome is limited unauthorized file read, not code execution or data tampering. The vuln.today decision label is 'monitor', the weakest urgency tier, consistent with the low score. There is no CISA KEV listing and no EPSS score supplied; no public exploit identified at time of analysis. The only reference is the vendor's own GHSA advisory. The realistic risk is confined to users who deliberately build untrusted Bake definitions AND who happen to have sensitive files whose names match the current project directory's basename as a prefix in the parent directory - a narrow, somewhat contrived precondition. Note one nuance to verify: although PR:N marks it 'unauthenticated,' exploitation is not remote - it depends entirely on the victim locally invoking an attacker-supplied Bake definition (UI:A), so treat 'unauthenticated' as 'no credentials needed' rather than 'remotely reachable.' No EPSS, KEV, or POC data was provided to contradict the low vendor assessment. |
| Exploit ScenarioDerived | An attacker publishes or sends a malicious Bake definition (e.g., in a repository a developer clones and builds). When the victim runs the untrusted definition with Buildx, a path crafted to use the current working directory's basename as a prefix under the same parent directory bypasses the fs.read entitlement prompt, letting the definition read a neighboring file the client should have been asked to approve. No public exploit code is identified; exploitation requires the victim to actively run the attacker's definition and depends on specific matching filenames existing next to the project directory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 03, 2026
Docker Buildx releases v0.19.0 through v0.38.0 can bypass the fs.read entitlement check when a user runs an untrusted Bake definition, allowing a crafted path to read files that are accessible to the Buildx client without the expected approval prompt. The bypass is narrow: the target path must sit under the same parent directory as the current working directory, must use the working directory's basename as a prefix, and a file with a specifically matching filename has to exist next to the project directory, so the attacker cannot select arbitrary files. Only confidentiality is affected and only at Low severity (no write or code execution), and users who build exclusively from trusted Bake definitions are not exposed; the flaw is fixed in v0.38.1, and no public exploit code was identified in the available sources at time of analysis.
RemediationAI
Vendor-released patch: Docker Buildx v0.38.1 - upgrade to v0.38.1 or later; the upstream advisory (https://github.com/docker/buildx/security/advisories/GHSA-rghq-x9hf-hc3r) states the issue is fixed in version v0.38.1+. If upgrading is not immediately possible, the vendor's stated workaround is to run only trusted Bake definitions and to inspect any Bake definition you intend to build for suspicious paths outside trusted directories, since the bypass also depends on a specifically matching filename existing next to the current project directory. Because the trigger requires a user to run an untrusted definition and the impact is limited to Low-severity read of client-accessible files, the vendor treats upgrading or restricting Bake runs to trusted definitions as the complete 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 is the Docker CLI plugin that provides extended build capabilities including the Bake build-orchestration frontend, which reads HCL/JSON build definition files and resolves paths on the client machine. Bake gates client-side filesystem access behind entitlements, so a definition that wants to read host files must first obtain fs.read approval from the user. This is a path-handling defect (CWE-22, path traversal) in that entitlement logic: when resolving a path under the same parent directory as the current working directory whose name begins with the working directory's basename (a prefix rather than an exact path match), the entitlement check can be skipped even though the path lies outside the approved project directory. Exploitation therefore depends on attacker-chosen path content that satisfies the basename-prefix pattern plus the presence of a specifically named file next to the project directory, which is why the CVSS 4.0 vector records AT:P (attack requirements: present) and UI:A (user must actively run the untrusted definition) alongside only VC:L, with no integrity or availability impact; the independent assessment similarly scores it AV:L/AC:H/PR:N/UI:R with C:L only. The trigger is confined to local, user-initiated Bake runs and is not remotely reachable; no privileges are required per the PR:N metric in both vectors, but the victim must perform the action of executing the untrusted definition.
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:L/VI:N/VA:N/SC:N/SI:N/SA:N
Local because it needs a locally-run definition (AV:L); AC:H for the required matching-filename/basename-prefix conditions; UI:R since the victim must run the definition; only limited read, so C:L, 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 may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, paths under the same parent directory as the current working directory whose names use the working directory's basename as a prefix can skip the filesystem entitlement check. Exploitation requires specific matching filenames next to the current project directory. 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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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-116534
NVD
CVE.org
GitHub
Exploit-DB