All reports
Medium

github.com/docker/buildx: Docker Buildx: Information disclosure via untrusted multi-target Bake definitions

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-121541

Probability of exploitation in the next 30 days: 0.11%

FIRST EPSS · 2026-11-19

Description

In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition that builds multiple targets together may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, filesystem paths from some targets are not verified against the approved entitlements. Users who run untrusted Bake definitions may be affected. The issue is fixed in v0.38.1.

A flaw was found in Docker Buildx. When building multiple targets simultaneously using an untrusted Bake definition, filesystem paths from certain targets fail to be verified against approved access entitlements. An attacker could exploit this flaw by enticing a user to execute a malicious build definition, resulting in unauthorized information disclosure of local files accessible to the client without required read permissions.