# CVE-2026-121542: Bake filesystem path entitlements approval can be skipped for path using basename prefix

- Priority: **Routine**
- Reason: Not severe (CVSS 1.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-03 · Modified: 2026-11-04
- Aliases: DEBIAN-CVE-2026-121542, UBUNTU-CVE-2026-121542
- Record: https://cvemate.com/vulnerability/CVE-2026-121542 · JSON: https://cvemate.com/vulnerability/CVE-2026-121542/json

## Description

```text
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.
```

## Signals

- CVSS: 1.8 low (v4.0, CVE.org) CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.19%, percentile 9.104%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian docker-buildx (Debian): All versions (No fix recorded)
- ubuntu docker.io (Ubuntu): All versions (No fix recorded)
- ubuntu docker.io-app (Ubuntu): All versions (No fix recorded)
- docker docker buildx: ≥ 0.19.0, \< 0.38.1

## References

- <https://github.com/docker/buildx/security/advisories/GHSA-rghq-x9hf-hc3r>
- <https://security-tracker.debian.org/tracker/CVE-2026-121542>
- <https://ubuntu.com/security/CVE-2026-121542>
- <https://www.cve.org/CVERecord?id=CVE-2026-121542>

---

Data as of 2026-12-05T06:13:44.845Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
