CVE-2026-121541: Bake filesystem path entitlements approval can be skipped in some multi-target builds
CVE-2026-121541 key facts
- CISA KEV
- Not listed (catalogue checked )
- Highest advisory rating
- Medium
- CVSS base score
- 5.6 (Docker), 5.5 (Red Hat)
- CVSS vector
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· base score 5.6, scored by DockerAttack vector: local. Attack complexity: low. Attack requirements: present. Privileges required: none. User interaction: active. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: none. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-863: Incorrect Authorization
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- Fixed releases
- Docker: 0.38.1
- Red Hat: 38.1
- Assigned by
- Docker (CNA)
- CVE record published
- Listed by VulniPulse
- Record changed
Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-121541; each belongs to its advisory, not to every product listed. How records are collected and checked.
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.
Text from the CVE.org record (Docker).
How do I fix CVE-2026-121541?
Upgrade to a fixed release named by the vendor:
- Docker: 0.38.1
- Red Hat: 38.1
- Run only trusted Bake definitions and upgrade Docker Buildx to v0.38.1 or later. For rhceph/alloy-rhel10, exposure is limited to the vendored buildx v0.23.0 library; the container neither ships the Buildx client nor invokes Bake multi-target builds. (Red Hat)
- Upgrade Docker Buildx to v0.38.1 or later. (CVE.org record)
- Workaround: Run only trusted Bake definitions until upgrading. Check that Bake definitions do not contain suspicious paths outside trusted directories. (CVE.org record)
Vendor advisories for CVE-2026-121541
Docker
1 advisory- Advisory severityMedium5.6
Medium [CVE-2026-121541] 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
CVE-2026-121541Source published Source updated
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.
- Affected products in this advisory
- Docker Buildx
- Source-reported affected versions
- through 0.38.0
- Source-reported fixed versions
- 0.38.1
- Mitigation guidance
- No mitigation guidance extracted; consult the source.
Red Hat
1 advisory- Advisory severityMedium5.5
Medium [CVE-2026-121541] Information disclosure via untrusted multi-target Bake definitions
CVE-2026-121541Source published Source updated
Information disclosure via untrusted multi-target Bake definitions. Red Hat rates this moderate (CVSS 5.5). Weakness: CWE-552. Affected product named by the advisory: Red Hat Ceph Storage 9.
- Related products — impact not confirmed
- Red Hat Ceph Storage 9
- Source-reported affected versions
- 19.0
- 38.0
- Source-reported fixed versions
- 38.1
- Mitigation guidance
- Run only trusted Bake definitions and upgrade Docker Buildx to v0.38.1 or later. For rhceph/alloy-rhel10, exposure is limited to the vendored buildx v0.23.0 library; the container neither ships the Buildx client nor invokes Bake multi-target builds.
References
Timeline
- CVE record published
- First vendor advisory listed by VulniPulse
- CVE record last updated
More Docker advisories
CVE-2026-121542Nov 3, 2026In Docker Buildx vulnerabilityCVE-2026-93325Nov 3, 2026Docker: Buildx bake requires the user to grant entitlements with --allow or an interactiveCVE-2026-123082Nov 10, 2026Docker Desktop before version 4.94.0 could write the signed-in user's Docker Hub accessCVE-2026-121520Nov 3, 2026In BuildKit versionsCVE-2026-121522Nov 3, 2026In BuildKit vulnerabilityCVE-2026-121614Nov 3, 2026Docker Sandboxes vulnerability
Get an email when Docker publishes the next one.
See Docker's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).
iPhone and Android apps · New on the App Store
Get alerts for new CVEs on your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.