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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Docker | Docker Buildx | < 0.37.2 | 0.37.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | docker-buildx | No fix yet | — |
| Debian 13 | docker-buildx | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | docker-buildx | No fix yet | — |
| Ubuntu 26.04 LTS | docker-buildx | No fix yet | — |
| Ubuntu 24.04 LTS | docker-buildx | No fix yet | — |
| Ubuntu 22.04 LTS | docker-buildx | No fix yet | — |
| Ubuntu 20.04 LTS | docker-buildx | No fix yet | — |