A malicious image can advertise DiffIDs from another image while containing different layer contents.
A malicious image can advertise DiffIDs from another image while containing different layer contents. In affected versions, BuildKit could use the advertised DiffIDs to derive cache and snapshot identity without validating that they matched the actual layer contents. If a BuildKit daemon with shared or persistent cache first processes such a malicious image, a later build using the victim image may mount the attacker-controlled layer contents as the base image. This can allow code from the malicious image to run in the victim build, for example by replacing a commonly executed path such as /b
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Docker
- Product
- Docker Desktop / Engine
- Exposure class
- Developer platform
Why it ranks 5 (Routine)
- Product class: developer platform
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.
Links
- NIST National Vulnerability Database (CVE API 2.0) (nvd.nist.gov)
- CVE-2026-93318 on this site · NVD · CVE.org · Vulnpedia