Malicious client can bypass destination directory validation on local sources upload
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Partial Red Hat: 5 fixed, 27 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| moby | BuildKit | before 0.31.2 | 0.31.2 | Patch available | CNA |
- BuildKit Vendormoby Affected before 0.31.2 Fixed in 0.31.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* | before 0.31.2 | Vulnerable | Mobyproject |
- cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* Versions before 0.31.2 Vulnerable ·Mobyproject
Remediation
- Fix · CNA BuildKit (moby) Fixed in 0.31.2
Red Hat 7 advisories
- RHSA-2026:86891 Released 2026-10-21 · Red Hat rating CriticalRHOAI 3.5.2 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.5 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9 +47
- RHSA-2026:84734 Released 2026-10-19 · Red Hat rating CriticalRHOAI 3.4.5 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-ai-gateway-payload-processing-rhel9, registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9 +47
- RHSA-2026:70640 Released 2026-09-24 · Red Hat rating Importantbuildah security update
- Red Hat Enterprise Linux AppStream (v. 9) buildah-2:1.43.3-2.el9_8, buildah-tests-2:1.43.3-2.el9_8
Show 4 more Red Hat advisories
- RHSA-2026:69917 Released 2026-09-22 · Red Hat rating ImportantOpenShift Source To Image 1.6.4
- OpenShift Developer Tools and Services 1.6.4 registry.redhat.io/source-to-image/source-to-image-rhel8, registry.redhat.io/source-to-image/source-to-image-rhel9
- RHSA-2026:66421 Released 2026-09-10 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images trivy-0.74.0-0.2.hum1@aarch64, trivy-0.74.0-0.2.hum1@src, trivy-0.74.0-0.2.hum1@x86_64
- RHSA-2026:62771 Released 2026-09-02 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images podman-5:6.0.2-2.3.hum1@aarch64, podman-5:6.0.2-2.3.hum1@src, podman-5:6.0.2-2.3.hum1@x86_64 +8
- RHSA-2026:51065 Released 2026-08-06 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images buildah-2:1.45.0-2.hum1@aarch64, buildah-2:1.45.0-2.hum1@src, buildah-2:1.45.0-2.hum1@x86_64
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
moby BuildKit 0.31.2
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-13286 Possible panic when incorrect parameters sent from frontendPriority LOW 28
- TI-2026-13285 LLB file operation can be tricked to remove /tmp directory contentsPriority LOW 16
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Assisted Installer for Red Hat OpenShift Container Platform 2 | Affected | No fix yet |
| Compliance Operator | Affected | No fix yet |
| DPU kit for NVIDIA | Affected | No fix yet |
| Kernel Module Management Operator for Red Hat Openshift | Affected | No fix yet |
| Logging Subsystem for Red Hat OpenShift | Affected | No fix planned: Will not fix |
| Migration Toolkit for Applications 8 | Affected | No fix yet |
| Migration Toolkit for Containers | Affected | No fix yet |
| Multicluster Engine for Kubernetes | Affected | No fix yet |
| Node HealthCheck Operator | Affected | No fix yet |
| OpenShift Developer Tools and Services | Affected | No fix planned: Out of support scope |
| OpenShift Lightspeed | Affected | No fix planned: Will not fix |
| OpenShift Serverless | Affected | No fix yet |
| Power monitoring for Red Hat OpenShift | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Build of Kueue | Affected | No fix yet |
| Red Hat Build of Podman Desktop | Affected | No fix yet |
| Red Hat Ceph Storage 9 | Affected | No fix yet: Fix deferred |
| Red Hat Certification Program for Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat Developer Hub 1 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet |
| Red Hat Openshift Data Foundation 4 | Affected | No fix yet |
| Red Hat Web Terminal | Affected | No fix yet |
| OpenShift Developer Tools and Services 1.6.4 | Fixed | RHSA-2026:69917 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:70640 |
| Red Hat Hardened Images | Fixed | RHSA-2026:51065, RHSA-2026:62771, RHSA-2026:66421 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:84734 |
| Red Hat OpenShift AI 3.5 | Fixed | RHSA-2026:86891 |
Not affected: 23 products
- Confidential Compute Attestation
- Custom Metric Autoscaler operator for Red Hat Openshift
- Logical Volume Manager Storage
- Migration Toolkit for Virtualization
- Multicluster Engine for Kubernetes
- OpenShift Developer Tools and Services
- OpenShift Service Mesh 3
- Pen Drive Powered by Red Hat Lightspeed
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat Ansible Automation Platform 2
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 3.4
- Red Hat OpenShift AI 3.5
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenShift Dev Spaces
- Red Hat OpenShift Virtualization 4
- Red Hat Openshift Data Foundation 4
- Red Hat Quay 3
- Red Hat Trusted Artifact Signer
Timeline
- 2026-10-02 Threatist record created from CVE-2026-15789
- 2026-10-07 Affected versions changed · Red Hat
- 2026-10-13 Affected versions changed · Red Hat
- 2026-10-20 Fix available: RHSA-2026:84734 · Red Hat
- 2026-10-20 Fix available: Red Hat OpenShift AI 3.4 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
- 2026-10-22 Fix available: Red Hat OpenShift AI 3.5 · Red Hat
- 2026-10-23 Affected versions changed · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
- 2026-10-30 Affected versions changed · Red Hat
- 2026-11-06 Affected versions changed · Red Hat
References
More moby vulnerabilities
- TI-2026-14229 Tar extraction in moby/go-archive can write outside the destination directory via link following CVSS 4.0HIGH 7.1
- TI-2021-12512 Moby HyperKit uninitialized memory use in virtio-sock pci_vtsock_proc_tx CVSS 3.1HIGH 7.1
- TI-2024-27462 Moby authz zero length regression CVSS 3.1CRITICAL 10.0
- TI-2024-15672 BuildKit interactive containers API does not validate entitlements check CVSS 3.1CRITICAL 9.8
- TI-2024-15671 BuildKit possible host system access from mount stub cleaner CVSS 3.1CRITICAL 10.0
- TI-2026-26365 Moby: AuthZ plugin bypass with oversized request body CVSS 3.1HIGH 8.8
Sources
- CVE-2026-15789 · CVE Program
- CVE-2026-15789 · NVD
- FIRST EPSS
- CVE-2026-15789 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences