Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-121541— Bake filesystem path entitlements approval can be skipped in some multi-target builds

Quick assessment

Affected
Docker Docker Buildx
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Docker Buildx 的 v0.19.0 至 v0.38.0 版本中,若使用不可信的 Bake 定义文件同时构建多个目标,可能会在未经预期的 权限审批的情况下,暴露 Buildx 客户端可访问的文件。在某些条件下,部分目标的文件系统路径未与已批准的权限进行验证。运行不可信 Bake 定义的用户可能受到影响。该问题已在 v0.38.1 版本中修复。

CVSS 5.6 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-121541

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Bake filesystem path entitlements approval can be skipped in some multi-target builds
Source: CVE Program / CVE List V5
Vulnerability Description
In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition that builds multiple targets together may expose files accessible to the Buildx client without the expected fs.read approval. Under certain conditions, filesystem paths from some targets are not verified against the approved entitlements. Users who run untrusted Bake definitions may be affected. The issue is fixed in v0.38.1.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Docker Docker Buildx 0.19.0 ~ 0.38.1 -

II. Public POCs for CVE-2026-121541

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-121541

请登录查看更多情报信息。

Other References for CVE-2026-121541 (1)

Same Patch Batch · Docker · 2026-11-03 · 6 CVEs total

CVE-2026-112917 9.2 CRITICAL Docker Desktop WSL2 AF_VSOCK isolation bypass via 32-bit socketcall
CVE-2026-103916 8.4 HIGH Docker Sandboxes sbx cp follows workspace symlinks outside the authorized host directory
CVE-2026-93325 7.3 HIGH Bake filesystem entitlement consent is skipped under --progress=rawjson in Docker Buildx
CVE-2026-121614 7.1 HIGH Docker Sandboxes host Git executes repository-controlled programs
CVE-2026-121542 1.8 LOW Bake filesystem path entitlements approval can be skipped for path using basename prefix

IV. Related Vulnerabilities