CVE-2026-93318
Last modified
CVE-2026-93318 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| moby | BuildKit | < 0.33.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-93318?
How severe is CVE-2026-93318?
How do I fix CVE-2026-93318?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-93312A flaw has been found in Freedesktop Poppler 26.07.0. Impact…4.3
- CVE-2026-93313A vulnerability was found in Freedesktop Poppler 26.07.0. Th…6.3
- CVE-2026-93314A vulnerability was determined in Freedesktop Poppler 26.07.…6.3
- CVE-2026-93315When proxy networking with CA injection is enabled, a build …5.8
- CVE-2026-93316If BuildKit daemon is started with --cdi-disabled it can lea…7.1
- CVE-2026-93317An unauthenticated attacker controlling a registry or OCI-la…5.9
- CVE-2026-93319A malicious external BuildKit frontend can send requests usi…5.7
- CVE-2026-93320BuildKit may be tricked into performing file actions with sp…6
- CVE-2026-93321A malicious frontend can submit an LLB definition that cause…6.9
- CVE-2026-93322A malicious frontend can submit an LLB definition that cause…6.9
- CVE-2026-93323The Dockerfile frontend loaded the Dockerfile and .dockerign…6.8
- CVE-2026-93326A build step for a Git source, crafted in a specific way, ca…6
Are you affected by CVE-2026-93318?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
