5.6Medium

CVE-2026-121541Bake filesystem path entitlements approval can be skipped in some multi-target builds

Docker Docker Buildx Published: (16 days ago)

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.

Weakness (CWE): CWE-863

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Docker Docker Buildx 0.19.0 – < 0.38.1

References and patches