Bake filesystem path entitlements approval can be skipped in some multi-target builds
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| DockerDocker Buildx |
≥ 0.19.0, < 0.38.1→ 0.38.1 |
0.38.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-121541 docker-buildx No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-121541 docker.io-app, docker.io No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- REDHAT Red Hat