PoC Monitor
← All CVEs
CVE-2026-15789published 21 Jul 2026 16:10 UTCData: JSON · API

Moby BuildKit

Malicious client can bypass destination directory validation on local sources upload

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

moby BuildKit
  • < 0.31.2

Fixed in 0.31.2

Mitigation

Upgrade BuildKit to 0.31.2 or later.

Workaround

Only use proper BuildKit clients (Docker Buildx, Buildctl) to issue builds. The issue only affects scenarios where you are running a BuildKit service with untrusted parties issuing builds.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.