Skip to main content

Moby BuildKit CVE-2026-15789

| EUVDEUVD-2026-46309 MEDIUM
Path Traversal (CWE-22)
2026-07-21 Docker
6.9
CVSS 4.0 · Vendor: Docker
Share

Severity by source

Vendor (Docker) PRIMARY
6.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.1 HIGH

Local socket access with low privileges required; high integrity and availability impact from unrestricted file writes; no confidentiality impact per description and CVSS 4.0 VC:N.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
6.3 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from Vendor (Docker).

CVSS VectorVendor: Docker

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Jul 21, 2026 - 19:03 EUVD
Analysis Generated
Jul 21, 2026 - 16:46 vuln.today
CVE Published
Jul 21, 2026 - 16:10 cve.org
MEDIUM 6.9

DescriptionCVE.org

A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.

AnalysisAI

Path traversal in the BuildKit daemon allows a client with valid control API access to craft a malicious upload request that writes files outside the BuildKit-controlled state directory, breaking container build sandbox boundaries. Affected products span all tracked versions of moby/buildkit per CPE data, and the vulnerability carries a CVSS 4.0 score of 6.9 with high integrity and availability impact on the vulnerable system. No public exploit code or CISA KEV listing has been identified at time of analysis.

Technical ContextAI

BuildKit (CPE: cpe:2.3:a:moby:buildkit:*:*:*:*:*:*:*:*) is Moby's next-generation container image build engine, used as the backend for 'docker buildx' and many CI/CD pipelines. It exposes a gRPC-based control API (buildkitd daemon) through which clients submit build contexts and transfer files. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) identifies the root cause: upload request paths are not sufficiently sanitized, so traversal sequences (e.g., '../') can resolve to locations outside the daemon's designated state directory. This breaks the file-system isolation that BuildKit relies on to safely handle untrusted build inputs.

RemediationAI

Consult the Docker/Moby security advisory at https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976 for the exact patched release version - a specific fix version was not independently confirmed from available input data. Upstream fix availability should be assumed pending advisory review. As a compensating control, restrict access to the BuildKit daemon socket (typically /run/buildkit/buildkitd.sock) to only trusted, explicitly authorized users or service accounts, reducing the population of principals capable of issuing crafted upload requests. In Kubernetes environments, enforce pod security admission policies that limit which workloads can mount the BuildKit socket. Avoid exposing the buildkitd gRPC endpoint over a network interface without mutual TLS authentication, since the daemon's local socket model is the primary intended isolation boundary.

More in Moby

View all
CVE-2023-28840 HIGH POC
8.7 Apr 04

Moby is an open source container framework developed by Docker Inc. Rated high severity (CVSS 8.7), this vulnerability i

CVE-2023-28841 MEDIUM POC
6.8 Apr 04

Moby is an open source container framework developed by Docker Inc. Rated medium severity (CVSS 6.8), this vulnerability

CVE-2024-36623 HIGH
8.1 Nov 29

moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger mult

CVE-2018-12608 HIGH
7.5 Sep 10

An issue was discovered in Docker Moby before 17.06.0. Rated high severity (CVSS 7.5), this vulnerability is remotely ex

CVE-2026-15793 HIGH
7.3 Jul 21

Argument injection in Moby BuildKit lets a malicious Git source trigger crafted command invocation on the build host whe

CVE-2026-17106 HIGH
7.1 Aug 18

Tar extraction path traversal in moby/go-archive allows an attacker who controls archive contents to create or overwrite

CVE-2023-28842 MEDIUM
6.8 Apr 04

Moby) is an open source container framework developed by Docker Inc. Rated medium severity (CVSS 6.8), this vulnerabilit

CVE-2024-36621 MEDIUM
6.5 Nov 29

moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go. Rated medium severity (

CVE-2024-36620 MEDIUM
6.5 Nov 29

moby v25.0.0 - v26.0.2 is vulnerable to NULL Pointer Dereference via daemon/images/image_history.go. Rated medium severi

CVE-2022-36109 MEDIUM
6.3 Sep 09

Moby is an open-source project created by Docker to enable software containerization. Rated medium severity (CVSS 6.3),

CVE-2021-41091 MEDIUM
6.3 Oct 04

Moby is an open-source project created by Docker to enable software containerization. Rated medium severity (CVSS 6.3),

CVE-2021-41089 MEDIUM
6.3 Oct 04

Moby is an open-source project created by Docker to enable software containerization. Rated medium severity (CVSS 6.3),

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Server 16.0 Affected
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.0 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Micro 6.0 Affected

Share

CVE-2026-15789 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy