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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-15791— LLB file operation can be tricked to remove /tmp directory contents

Quick assessment

Affected
moby BuildKit
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.

Moby BuildKit是Moby团队开源的一个并发、高速缓存高效的构建器工具包。 Moby BuildKit 0.31.2之前版本存在路径遍历漏洞,该漏洞源于BuildKit低级构建API中的特制消息可用于删除/tmp目录内容,删除构建容器rootfs内文件的正常操作可能逃逸到真实主机临时目录,导致路径遍历。

AI Predicted 5.9 Difficulty: Moderate EPSS 0.25% · P15

Affected Version Matrix 1

VendorProduct Version RangeStatus
moby BuildKit 0.10.0< 0.31.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-15791

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
LLB file operation can be tricked to remove /tmp directory contents
Source: CVE Program / CVE List V5
Vulnerability Description
A crafted message in the BuildKit low-level build API can be used to remove the contents of the /tmp directory. The action that can normally be used to delete files inside the build container rootfs can escape into the real host temp directory.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
Moby BuildKit 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Moby BuildKit是Moby团队开源的一个并发、高速缓存高效的构建器工具包。 Moby BuildKit 0.31.2之前版本存在路径遍历漏洞,该漏洞源于BuildKit低级构建API中的特制消息可用于删除/tmp目录内容,删除构建容器rootfs内文件的正常操作可能逃逸到真实主机临时目录,导致路径遍历。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
moby BuildKit 0.10.0 ~ 0.31.2 -

II. Public POCs for CVE-2026-15791

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

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

Vendor Advisories for CVE-2026-15791 (1)

Same Patch Batch · moby · 2026-07-21 · 4 CVEs total

CVE-2026-15792 Possible panic when incorrect parameters sent from frontend
CVE-2026-15789 Malicious client can bypass destination directory validation on local sources upload
CVE-2026-15793 Git source checkout from a bundle file could lead to command injection

IV. Related Vulnerabilities

V. Comments for CVE-2026-15791

No comments yet


Leave a comment