Description
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.
Published: 2026-10-05
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized File Read
Action: Patch Required
AI Analysis

Impact

Docker Buildx Bake fails to request the expected filesystem read permission when handling certain inputs. An untrusted Bake definition can expose a readable file through a pathless secret whose identifier is interpreted as a pathname, or allow the consumption of a local OCI image layout outside the project after entitlement validation incorrectly resolves a different path representation. This flaw lets an attacker read arbitrary files or access unintended OCI image layouts, compromising confidentiality. The weakness is a form of missing authorization guard.

Affected Systems

The vulnerability affects Docker Buildx, the build subsystem used by Docker Engine and Docker Desktop. All versions prior to 0.37.2 are impacted; upgrading to v0.37.2 or later applies the fix. Users who run Buildx must verify they are on or above that version or apply the recommended workaround.

Risk and Exploitability

The CVSS score of 6.9 categorizes the flaw as medium severity. No EPSS score is currently available, and the issue is not listed in the CISA KEV catalog. Exploitation requires that an attacker supply or modify a Bake definition that Buildx processes, so the attack vector is local and contingent on executing an untrusted definition. Although no public exploit is reported, the potential for confidential data exposure warrants immediate action.

Generated by OpenCVE AI on October 5, 2026 at 23:23 UTC.

Remediation

Vendor Workaround

Run only trusted Bake definitions until upgrading to v0.37.2 or later. Review Bake definitions for secrets without an explicit source and for local OCI layout contexts.


OpenCVE Recommended Actions

  • Upgrade Docker Buildx to version 0.37.2 or later to receive the fix.
  • Until upgrade, execute only trusted Bake definitions and avoid running any untrusted or downloaded Bake files.
  • Review each Bake definition for secrets without an explicit source and for local OCI layout contexts, and adjust them to specify a source or remove hidden secrets.
  • Restrict the execution of Bake definitions to a trusted directory or enforce explicit filesystem entitlement checks where possible.

Generated by OpenCVE AI on October 5, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 21:15:00 +0000

Type Values Removed Values Added
First Time appeared Docker
Docker buildx
Vendors & Products Docker
Docker buildx

Tue, 06 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 05 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Bake filesystem entitlement consent is skipped for certain secret and oci-layout definitions
Weaknesses CWE-862
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Docker

Published:

Updated: 2026-10-06T13:36:00.334Z

Reserved: 2026-09-30T15:33:07.765Z

Link: CVE-2026-103433

cve-icon Vulnrichment

Updated: 2026-10-06T13:35:54.649Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-05T22:16:56.370

Modified: 2026-10-06T15:08:38.397

Link: CVE-2026-103433

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-06T20:56:36Z

Weaknesses