# CVE-2026-15789: Malicious client can bypass destination directory validation on local sources upload

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-21 · Modified: 2026-07-21
- Aliases: RHSA-2026:62771, ALPINE-CVE-2026-15789
- Record: https://cvemate.com/vulnerability/CVE-2026-15789 · JSON: https://cvemate.com/vulnerability/CVE-2026-15789/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.314%, percentile 26.27%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine buildkit (Alpine Linux): \< 0.32.2-r0
- moby buildkit: \< 0.31.2
- mobyproject buildkit: \< 0.31.2
- redhat podman (Red Hat): \< 0:6.0.2-2.3.hum1 \| \< 5:6.0.2-2.3.hum1
- redhat podman-docker (Red Hat): \< 0:6.0.2-2.3.hum1 \| \< 5:6.0.2-2.3.hum1
- redhat podman-machine (Red Hat): \< 0:6.0.2-2.3.hum1 \| \< 5:6.0.2-2.3.hum1
- redhat podman-remote (Red Hat): \< 0:6.0.2-2.3.hum1 \| \< 5:6.0.2-2.3.hum1
- redhat podmansh (Red Hat): \< 0:6.0.2-2.3.hum1 \| \< 5:6.0.2-2.3.hum1

## References

- <https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976>
- <https://access.redhat.com/errata/RHSA-2026:62771>
- <https://images.redhat.com/>
- <https://access.redhat.com/security/cve/CVE-2026-15789>
- <https://access.redhat.com/security/updates/classification/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_62771.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2503742>
- <https://www.cve.org/CVERecord?id=CVE-2026-15789>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-15789>
- <https://security.alpinelinux.org/vuln/CVE-2026-15789>

---

Data as of 2026-12-05T06:33:42.939Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
