# CVE-2026-121541: Bake filesystem path entitlements approval can be skipped in some multi-target builds

Status: published. Published: 2026-11-03. Updated: 2026-11-06.

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.

## Remediation

- fix: Upgrade Docker Buildx to v0.38.1 or later. (source: CNA: Docker)
- workaround: Run only trusted Bake definitions until upgrading. Check that Bake definitions do not contain suspicious paths outside trusted directories. (source: CNA: Docker)

## Affected products and versions

- Docker / Docker Buildx: ≥ 0.19.0; < 0.38.1 (affected, semver). Source: CNA: Docker

## Severity and prioritization

- CVSS 4.0: 5.6 (medium); 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; source: CNA: Docker

- CVSS 4.0: 5.6 (medium); 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; source: NVD: security@docker.com

- CISA KEV: No listing in collected sources

- EPSS: 0.11% as of 2026-11-06; percentile 1.36%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-863

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/docker/buildx/security/advisories/GHSA-xg6v-cv2h-2w5h (CNA: Docker; vendor-advisory)

- https://github.com/docker/buildx/security/advisories/GHSA-xg6v-cv2h-2w5h (security@docker.com)

## Provenance

- CNA: Docker: https://www.cve.org/CVERecord?id=CVE-2026-121541; retrieved 2026-11-06; source updated 2026-11-06

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-121541; retrieved 2026-11-07; source updated 2026-11-06

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-121541; retrieved 2026-11-06; source updated Not reported

Revision: 349af70f60826e4d9455bdf418e956b8675d74fa5d9714ab05be096c097077d2

Canonical: https://y2.dev/cve/CVE-2026-121541

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.