CVE-2026-93318
HIGH 7.5A 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.
Severe if exploited (CVSS 7.5), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 6th percentile
Impact if exploited
7.5CVSS 4.0 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityLow
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ⚠User interaction: Requires active user interaction
- ✓Complexity: No special conditions — reliably repeatable
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-354: : Improper Validation of Integrity Check Value
CVSS vector
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
References and research data (JSON)
Vendor product assessments
buildah.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00podman.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00trivy.src as a component of Red Hat Hardened Images · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
pkg:rpm/redhat/[email protected]?arch=src
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00quay/quay-builder-rhel8 as a component of Red Hat Quay 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not in execute path
pkg:oci/quay-builder-rhel8?repository_url=registry.redhat.io/quay/quay-builder-rhel8
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00quay/quay-builder-rhel9 as a component of Red Hat Quay 3 · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not in execute path
pkg:oci/quay-builder-rhel9?repository_url=registry.redhat.io/quay/quay-builder-rhel9
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00
All CVSS metrics
- HIGH 7.5 v4.0 · CNA Primary
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 - HIGH 7.5 v4.0 · NVD Secondary
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
Patches & mitigations
- https://github.com/moby/buildkit/releases/tag/v0.33.1 CVE record · Docker · Updated 2026-10-05T17:45:39.491Z
NVD · CVE-2026-93318 · Updated 2026-10-06T15:08:38.397
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00
Advisories
- https://github.com/moby/buildkit/security/advisories/GHSA-f2v9-hprr-32q3 CVE record · Docker · Updated 2026-10-05T17:45:39.491Z
NVD · CVE-2026-93318 · Updated 2026-10-06T15:08:38.397
Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-93318.json Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-92532 EUVD · EUVD-2026-92532
Technical & other
- https://access.redhat.com/security/cve/CVE-2026-93318 Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2546027 Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-93318 Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-93318 Red Hat · CVE-2026-93318 · Updated 2026-10-20T18:54:52+00:00