cve.bz

CVE-2026-121542 docker docker buildx: Path traversal

1.8 lowEPSS 0.2%

Low (1.8) in docker docker buildx. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

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
EPSS
0.2% (unchanged from 0.1% a week ago) estimated probability of exploitation activity in the next 30 days; 5th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2026-121542 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121542?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121542?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-121542 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Docker Buildxfrom 0.19.0 before 0.38.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14docker-buildxno fix listedDEBIAN-CVE-2026-121542
Ubuntu26.04:LTS, 26.10, Pro:20.04:LTS and 2 moredocker.io, docker.io-appno fix listedUBUNTU-CVE-2026-121542
UbuntuPro:16.04:LTS, Pro:18.04:LTSdocker.iono fix listedUBUNTU-CVE-2026-121542

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Low.

Red Hat's statement

An information-disclosure flaw was found in Docker Buildx versions v0.19.0–v0.38.0. An untrusted Bake build definition can expose files accessible to the Buildx client without the expected fs.read approval when paths under the same parent directory as the current working directory use the CWD's basename as a prefix, bypassing the filesystem entitlement check. Red Hat Ceph Storage 9 ships buildx only as an indirect, vendored Go dependency of the Alloy container (v0.23.0); the container runtime does not invoke the Buildx Bake code path, so impact is limited to the vendored in-range component. Fixed upstream in v0.38.1.

Red Hat's mitigation

Upgrade to Docker Buildx v0.38.1 or later. As a workaround, run only trusted Bake build definitions (per upstream advisory GHSA-rghq-x9hf-hc3r).

ProductPackageStateAdvisory
Red Hat Ceph Storage 9rhceph/alloy-rhel10Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-121542.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON