CVE-2026-93318Cache poisoning via unvalidated image layer DiffIDs
Updated under an hour ago ()
Does this affect you?
It affects moby BuildKit. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.17%, higher than 6% of scored CVEs.
Do this next
Free account, 1 product
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 /bin/sh. The attacker-controlled code may read build secrets mounted into the build, access other build resources, alter output artifacts, or hang the build. The issue affects both regular snapshotters and lazy-pulling snapshotters such as stargz.
- CVSS
- 7.5 HIGH (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-354
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.17% (percentile 6)
- Assigned by
- Docker
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 5, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
moby BuildKit moby:buildkit (from the name) | before 0.33.1 | CNA record |
References
- https://github.com/moby/buildkit/security/advisories/GHSA-f2v9-hprr-32q3vendor-advisory
- https://github.com/moby/buildkit/releases/tag/v0.33.1patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.