---
id: CVE-2026-103433
title: >-
  Docker Buildx Bake does not request the expected fs.read approval for certain
  filesystem inputs
summary: >-
  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 cons…
severity: medium
cvss: 6.9
cvssVector: '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'
cwe:
  - CWE-862
vendor: Docker
product: Docker Buildx
affected:
  - buildx < 0.37.2
published: '2026-10-05'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T22:16:56.370'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103433'
references:
  - url: 'https://docs.docker.com/build/bake/reference/#targetentitlements'
    label: security@docker.com
  - url: 'https://github.com/docker/buildx'
    label: security@docker.com
  - url: 'https://github.com/docker/buildx/releases/tag/v0.37.2'
    label: security@docker.com
  - url: 'https://github.com/docker/buildx/security/advisories/GHSA-p54p-jq4x-rc28'
    label: security@docker.com
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-10-05T22:35:24.735Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
