Bake filesystem path entitlements approval can be skipped for path using basename prefix
- CVE-2026-121542
- EUVD-2026-116534
Description
In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, paths under the same parent directory as the current working directory whose names use the working directory's basename as a prefix can skip the filesystem entitlement check. Exploitation requires specific matching filenames next to the current project directory. Users who run untrusted Bake definitions may be affected. The issue is fixed in v0.38.1.
Text from the CVE.org record.
Recommendation
Docker Docker Buildx
- If you run a version from 0.19.0 to before 0.38.1update to 0.38.1 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Docker Docker Buildx
Affected versions Fixed in from 0.19.0 to before 0.38.1 0.38.1
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.