cve.bz

CVE-2026-15789 mobyproject buildkit: Path traversal

6.9 mediumEPSS 0.3%

Medium (6.9) in mobyproject buildkit. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-15789 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-15789?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-15789?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-15789 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
moby BuildKitbefore 0.31.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hathummingbird:1buildah2:1.45.0-2.hum1RHSA-2026:51065
Red Hathummingbird:1podman, podmansh, podman-docker and 2 more5:6.0.2-2.3.hum1RHSA-2026:62771
Red Hathummingbird:1trivy0:0.74.0-0.2.hum1RHSA-2026:66421
AlmaLinux9buildah, buildah-tests2:1.43.3-2.el9_8ALSA-2026:70640
Rocky Linux9buildah2:1.43.3-2.el9_8RLSA-2026:70640

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This Moderate impact flaw in BuildKit allows a custom client with valid permissions to the BuildKit control API to escape files from the BuildKit-controlled state directory. This vulnerability requires an attacker to already possess the necessary access to the BuildKit daemon, limiting the attack surface to environments where the control API is exposed or compromised.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9buildah-2:1.43.3-2.el9_8Fixed 2026-09-24RHSA-2026:70640
OpenShift Developer Tools and Services 1.6.4source-to-image/source-to-image-rhel8:1790059956Fixed 2026-09-22RHSA-2026:69917
OpenShift Developer Tools and Services 1.6.4source-to-image/source-to-image-rhel9:1790059977Fixed 2026-09-22RHSA-2026:69917
Red Hat Hardened Imagesbuildah-main-1.45.0-2.hum1Fixed 2026-08-06RHSA-2026:51065
Red Hat Hardened Imagespodman-main-6.0.2-2.3.hum1Fixed 2026-09-02RHSA-2026:62771
Red Hat Hardened Imagestrivy-main-0.74.0-0.2.hum1Fixed 2026-09-10RHSA-2026:66421
Red Hat OpenShift AI 3.4rhoai/odh-cli-rhel9:1791509689Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-must-gather-rhel9:1791351741Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9:1791829804Fixed 2026-10-19RHSA-2026:84734
Red Hat OpenShift AI 3.4rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9:1791829069Fixed 2026-10-19RHSA-2026:84734
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Assisted Installer for Red Hat OpenShift Container Platform 2rhai/assisted-installer-controller-rhel9Affected
Compliance Operatorcompliance/openshift-compliance-must-gather-rhel8Affected
Confidential Compute Attestationbuild-of-trustee/trustee-must-gather-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Not affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
Custom Metric Autoscaler operator for Red Hat Openshiftcustom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operatorNot affected
DPU kit for NVIDIAdpu-kit-for-nvidia/must-gather-rhel10Affected
Kernel Module Management Operator for Red Hat Openshiftkmm/kernel-module-management-must-gather-rhel9Affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorWill not fix
185 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-15789.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON