{"id":"CVE-2026-121541","title":"Bake filesystem path entitlements approval can be skipped in some multi-target builds","summary":"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, files…","severity":"medium","cvss":5.6,"cvssVector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","cvssSource":"cna","cwe":["CWE-863"],"vendor":"Docker","product":"Docker Buildx","affected":["buildx >= 0.19.0 < 0.38.1"],"published":"2026-11-03","updated":"2026-11-03","sourceUpdated":"2026-11-03T22:01:09.960Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-121541","references":[{"url":"https://github.com/docker/buildx/security/advisories/GHSA-xg6v-cv2h-2w5h"}],"tags":["cve.org"],"epss":0.00112,"epssPercentile":0.01361,"ingestedAt":"2026-11-05T20:33:06.530Z","slug":"CVE-2026-121541","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `buildx >= 0.19.0 < 0.38.1`\n\n## Remediation\n\nUpgrade Docker Buildx to v0.38.1 or later.\n\n### Workarounds\n\nRun only trusted Bake definitions until upgrading. Check that Bake definitions do not contain suspicious paths outside trusted directories.","depth":"sunlit","depthScore":31,"depthScoreParts":{"impact":30.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}