---
title: "CVE-2026-93318: BuildKit - Code Injection"
description: "BuildKit contains a code injection vulnerability caused by trusting advertised DiffIDs without validating actual layer contents, letting attackers run malicious code in victim builds, exploit requires shared or persistent cache usage."
url: https://panop.io/threat-heartbeat/CVE-2026-93318/
---

# CVE-2026-93318 BuildKit - Code Injection

BuildKit contains a code injection vulnerability caused by trusting advertised DiffIDs without validating actual layer contents, letting attackers run malicious code in victim builds, exploit requires shared or persistent cache usage.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

EPSS

0.17% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-93318)

## Details

Type

Code Injection

Impact

Remote Code Execution, Information Disclosure, Data Tampering, Denial Of Service

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/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

Published

5 October 2026

Updated

15 October 2026

Weakness

[CWE-354](https://cwe.mitre.org/data/definitions/354.html)

## Vendor fix

Update to the latest BuildKit version with proper DiffID validation.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-93318](https://nvd.nist.gov/vuln/detail/CVE-2026-93318)
- [https://github.com/moby/buildkit/releases/tag/v0.33.1](https://github.com/moby/buildkit/releases/tag/v0.33.1)
- [https://github.com/moby/buildkit/security/advisories/GHSA-f2v9-hprr-32q3](https://github.com/moby/buildkit/security/advisories/GHSA-f2v9-hprr-32q3)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
