CVE-2026-15789: Docker Malicious client can bypass destination directory validation on local sources upload
This Docker advisory covers CVE-2026-15789 in BuildKit.
- CVE-2026-15789
Am I affected by CVE-2026-15789?
You are affected if you run BuildKit at one of the versions below. If you do, upgrade to the fixed release listed for your version.
| Affected | Fixed in |
|---|---|
| BuildKit before 0.31.2 | 0.31.2 |
NVD record · high-confidence parse· fetched ·verify at source
Key facts
- Vendor rating
- Medium, CVSS 6.9
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N· base score 6.9, scored by DockerAttack vector: local. Attack complexity: low. Attack requirements: none. Privileges required: low. User interaction: none. Confidentiality impact on the vulnerable system: none. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: high. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.- Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- EPSS
- 0.31% chance of exploitation in the next 30 days (26th percentile). FIRST EPSS, .
- CISA SSVC
- Exploitation: none observed. Automatable: no. Technical impact: partial. CISA, .
- CISA KEV
- Not listed (catalogue checked )
- Source published
- Source revised
- Listed by VulniPulse
- Record changed
Compiled by VulniPulse from the linked sources. How records are collected and checked.
Affected products & platforms
Description
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.
Text from the source record.
CVE-2026-15789 questions
Is CVE-2026-15789 being exploited?
CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Docker advisory does not report exploitation. That is not proof it is unexploited.
Am I affected by CVE-2026-15789?
You are affected if you run BuildKit at one of the versions below. If you do, upgrade to the fixed release listed for your version. The table above lists each version.
How do I fix CVE-2026-15789?
Upgrade to a fixed release Docker lists for your version: 0.31.2.
How likely is CVE-2026-15789 to be exploited?
FIRST's EPSS model gives it a 0.31% chance of exploitation in the next 30 days (26th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.
How serious is CVE-2026-15789?
Docker rates it medium, CVSS 6.9 out of 10.
More Docker advisories
CVE-2026-93318Oct 5, 2026BuildKit: malicious image can advertise DiffIDs from another image while containingCVE-2026-93316Oct 5, 2026If BuildKit daemon is started with --cdi-disabledCVE-2026-33748Mar 27, 2026BuildKit is a toolkit for converting source code to build artifacts in an efficientCVE-2026-138002Dec 3, 2026Sysbox special-volume synchronization path traversal and symlink followingCVE-2026-132634Dec 3, 2026Sysbox-fs remount authorization bypasses allow writes to immutable read-only mountsCVE-2026-138001Dec 2, 2026Docker Sandboxes custom-secret disclosure through reflected request headers
Get an email when Docker BuildKit / Compose publishes the next one.
See Docker BuildKit / Compose's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).