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

- Severity: Low 1.8 (CVSS:4.0, scored by Docker) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-03T21:59:06.193Z
- Modified: 2026-11-06T21:40:43.450Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Docker

## 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.

(As written by CVE List.)

## Affected

- Docker Docker Buildx: from 0.19.0 before 0.38.1

## References

- <https://github.com/docker/buildx/security/advisories/GHSA-rghq-x9hf-hc3r> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-121542](https://www.cve.org/CVERecord?id=CVE-2026-121542), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2026-121542](https://nvd.nist.gov/vuln/detail/CVE-2026-121542), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-121542 · Whole record: https://cve.day/CVE-2026-121542.json · Rebuilt by cve.day 2026-11-25T22:59:48.927Z
