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

- Severity: High 7.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-08-19T20:06:54.924Z
- Modified: 2026-09-09T21:15:59.613Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.2, 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 BuildKit control API to issue builds, eg., bypass authentication, etc. This issue is fixed in version 0.31.2.

(As written by CVE List.)

## Affected

- moby buildkit: < 0.31.2

## References

- <https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976>
- <https://github.com/moby/buildkit/releases/tag/v0.31.2>

## Sources

- CVE List: [CVE-2026-75593](https://www.cve.org/CVERecord?id=CVE-2026-75593), CVE Terms of Use, modified 2026-08-25
- NVD: [CVE-2026-75593](https://nvd.nist.gov/vuln/detail/CVE-2026-75593), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-75593 · Whole record: https://cve.day/CVE-2026-75593.json · Rebuilt by cve.day 2026-11-25T22:59:34.202Z
