CVE-2026-121542

published 3 Nov 2026 · updated 16 Nov 2026

Bake filesystem path entitlements approval can be skipped for path using basename prefix

1.8LowCVSS 1.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Buildx 0.38.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
DockerBuildx>=0.19.0 <0.38.10.38.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Docker, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-121542 severity on Zeptric[![CVE-2026-121542](https://zeptric.io/badge/cve/CVE-2026-121542.svg)](https://zeptric.io/cve/CVE-2026-121542)