Skip to content
VulniPulse
High7.5Red Hat Linux

CVE-2026-93318: Red Hat arbitrary code execution via cache poisoning from mismatched layer identifiers

This Red Hat advisory covers CVE-2026-93318.

Open the Red Hat advisory

Key facts

Vendor rating
High, CVSS 7.5
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 · base score 7.5, scored by DockerAttack vector: network. Attack complexity: low. Attack requirements: present. Privileges required: none. User interaction: active. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: low. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.
Weakness
  • CWE-354: Improper Validation of Integrity Check Value
EPSS
0.17% chance of exploitation in the next 30 days (5th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Fixed in
0.33.1
Source published
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Red Hat LinuxUnclassified

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.

A flaw was found in BuildKit. A remote attacker can supply a crafted container image that advertises layer identifiers matching another image without containing the actual layer contents.

Because BuildKit does not validate that these identifiers match the layer data before caching them, a shared build daemon can store the attacker's layers under the identity of a legitimate image.

Text from the source record.

How to fix CVE-2026-93318

Upgrade to a fixed release named by Red Hat:

  • 0.33.1

Vendor guidance

  • Avoid sharing persistent BuildKit daemon cache instances across multi-tenant or untrusted build workloads, and isolate builder runners per tenant. Regularly prune daemon cache and restrict image pull access to verified, trusted registries.

CVE-2026-93318 in other vendors' advisories

Compare every advisory for CVE-2026-93318

All Red Hat Linux advisories

Get an email when Red Hat publishes the next one.

See Red Hat's last 90 days first. Live alerts for one product are free for life; every vendor is US$15 a month after a free month.

Alert me about Red Hat