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

High 7.2 Published Updated

A malicious client with API access can bypass directory validation to read or modify files outside the intended build context in BuildKit.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-75593?

CVE-2026-75593 is a high-severity path traversal vulnerability in moby buildkit, published on 19 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-75593?

How do I fix CVE-2026-75593?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-75593 being exploited?

There is no known exploitation of CVE-2026-75593 in the wild and no public exploit code.

Sources

Also known as AZL-97035, GHSA-wqjv-cjqw-p7p5.

Is CVE-2026-75593 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free