Skip to main content

Docker Buildx CVE-2026-121542

| EUVDEUVD-2026-116534 LOW
Path Traversal (CWE-22)
2026-11-03 security@docker.com
1.8
CVSS 4.0 · Vendor: docker
View

Attack ChainAIDerived

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

  1. Access
    Victim runs attacker-supplied Bake definition
  2. Delivery
    Definition references path reusing cwd basename prefix
  3. Exploit
    fs.read entitlement check is skipped
  4. Execution
    Neighboring file read without approval
  5. Impact
    Limited 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Docker Buildx 0.19.0 <0.38.1

Affected Packages

euvd docker_buildx fix: 0.38.1

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

Vendor (docker) PRIMARY 1.8 LOW
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
vuln.today AI 2.5 LOW

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.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (docker).

CVSS VectorVendor: docker

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 03, 2026 - 23:19 EUVD
CVE Published
Nov 03, 2026 - 22:19 cve.org
LOW 1.8

DescriptionCVE.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

Prevalence
High
Docker Buildx ships with Docker CLI/Desktop, ubiquitous in dev and CI pipelines
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

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 LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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

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