Vulnerability · Published Nov 3, 2026 · Assigned by Docker
CVE-2026-121542Bake filesystem path entitlements approval can be skipped for path using basename prefix
Low 1.8
In plain English
A low-severity path traversal in Docker Buildx from Docker. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | docker-buildx | no fix listed | DEBIAN-CVE-2026-121542 |
| Debian:14 | docker-buildx | no fix listed | DEBIAN-CVE-2026-121542 |
| Ubuntu:26.04:LTS | docker.io | no fix listed | UBUNTU-CVE-2026-121542 |
| Ubuntu:26.10 | docker.io | no fix listed | UBUNTU-CVE-2026-121542 |
| Ubuntu:26.04:LTS | docker.io-app | no fix listed | UBUNTU-CVE-2026-121542 |
| Ubuntu:26.10 | docker.io-app | no fix listed | UBUNTU-CVE-2026-121542 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Docker | Docker Buildx | 0.19.0 – before 0.38.1 |
Weakness: CWE-22 · Vector: 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