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

Severity (CVSS 4.0)1.8Low
Exploit odds (30 days)0.1%top 96.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:13docker-buildxno fix listedDEBIAN-CVE-2026-121542
Debian:14docker-buildxno fix listedDEBIAN-CVE-2026-121542
Ubuntu:26.04:LTSdocker.iono fix listedUBUNTU-CVE-2026-121542
Ubuntu:26.10docker.iono fix listedUBUNTU-CVE-2026-121542
Ubuntu:26.04:LTSdocker.io-appno fix listedUBUNTU-CVE-2026-121542
Ubuntu:26.10docker.io-appno fix listedUBUNTU-CVE-2026-121542

Affected products (as reported)

VendorProductVersions
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

References