Skip to main content
← All vulnerabilities
CVE-2026-15789

Malicious client can bypass destination directory validation on local sources upload

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.31.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • moby BuildKit

    fixed in 0.31.2

References 1

GitHub · moby/buildkit