CVE-2026-93318
published high CVSS 4.0 · 7.5Cache poisoning via unvalidated image layer DiffIDs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| moby | — | github.com/moby/buildkitBuildKit · 0 to < 0.33.1 · Other versions: unaffected | Affected | Not stated | Docker |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-151 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DOCKER-2026-162 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2ECS-2026-157 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2NITRO-ENCLAVES-2026-133 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-162 |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2ECS-2026-157 |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3264 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3391 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | dockeraarch64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-133 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-162 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2ECS-2026-157 |
| Amazon Linux | AL2 | dockersrc | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-133 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-162 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2ECS-2026-157 |
| Amazon Linux | AL2 | dockerx86_64 | Listed in advisory | Not stated | ALAS2NITRO-ENCLAVES-2026-133 |
| Amazon Linux | AL2 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-151 |
| Amazon Linux | AL2 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2DOCKER-2026-151 |
| Amazon Linux | AL2 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2DOCKER-2026-151 |
| Amazon Linux | AL2023 | dockeraarch64 | Listed in advisory | Not stated | ALAS2023-2026-3391 |
| Amazon Linux | AL2023 | dockersrc | Listed in advisory | Not stated | ALAS2023-2026-3391 |
| Amazon Linux | AL2023 | dockerx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3391 |
| Amazon Linux | AL2023 | runfinch-finchaarch64 | Listed in advisory | Not stated | ALAS2023-2026-3264 |
| Amazon Linux | AL2023 | runfinch-finchsrc | Listed in advisory | Not stated | ALAS2023-2026-3264 |
| Amazon Linux | AL2023 | runfinch-finchx86_64 | Listed in advisory | Not stated | ALAS2023-2026-3264 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Docker · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| moby | BuildKit | 0 to < 0.33.1 (affected · semver)Default: unaffected | Docker · cna |
Weaknesses
1- CWE-354 CWE-354: Improper Validation of Integrity Check Value
References
2Provider assertions
2Docker · cna
Cache poisoning via unvalidated image layer DiffIDs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ab59946861beaaf0cdfef6d1341a2917e93eeedfd6b36973d9c6884e2011d55f
- Ingested
- 05 Oct 2026, 21:45:26 UTC
- Source record
- Official CVE record