Skip to main content

BuildKit CVE-2026-93326

| EUVDEUVD-2026-92787 MEDIUM
Incorrect Behavior Order: Validate Before Canonicalize (CWE-180)
2026-10-05 Docker
6.0
CVSS 4.0 · Vendor: Docker
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain ability to submit build definition
  2. Delivery
    Craft Git-source build step to spoof remote URL
  3. Exploit
    Bypass URL-based policy validation
  4. Execution
    BuildKit clones attacker-chosen repository
  5. Impact
    Malicious source enters trusted build output

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Leading special element handling
Exploitation Conditions

Exploitation requires the attacker to control or influence a BuildKit build definition (PR:L) and to craft a Git-source build step in a specific way (AT:P reflects this crafting requirement), so it applies to environments where untrusted or semi-trusted parties can submit builds to a shared BuildKit instance. The bypass is scoped to URL/remote-identity policy checks only: per the vendor, policies validating commit SHA, commit data, or signatures continue to apply correctly, which is the primary limiting factor. It does not enable unauthenticated access, and no user interaction (UI:N) is needed once build-submission privilege is held.

Impact

This is a moderate, integrity-focused policy-bypass issue rather than a high-urgency emergency. The CVSS 4.0 score of 6.0 (AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N) shows a network vector but with an explicit Attack Requirement (AT:P) and required privileges (PR:L), meaning the attacker must already be able to submit a build definition to a BuildKit instance - this is a trusted-builder/CI threat model, not drive-by remote code execution. The dominant impact is integrity (VI:H): a crafted Git-source build step can make a clone appear to originate from a different remote URL, defeating URL-based policy validation. No EPSS score was provided in the input and the vulnerability is not on the CISA KEV list, so there is no evidence of active exploitation; no public PoC is referenced either. Signals are internally consistent - a privileged/authenticated-position bug with real integrity impact but a meaningful precondition - so this is a genuine supply-chain hardening priority for organizations enforcing source-URL build policies, but not a widespread-exploitation fire drill. Importantly, per the description, stricter policies keyed on commit SHA, commit data, or signatures are NOT bypassed, which materially lowers real-world risk for mature pipelines.

Exploit ScenarioDerived

An actor who can submit build definitions to a shared BuildKit/CI build service crafts a Git-source build step so that an audit/admission policy sees an approved remote URL while BuildKit actually clones from an attacker-chosen repository. This lets malicious source slip past URL allow-list policies and into trusted build outputs. No public exploit code is referenced, and the attack requires the ability to influence a build definition (PR:L) plus specific crafting conditions (AT:P).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 05, 2026

BuildKit (moby/buildkit) contains a policy-validation bypass in which a specially crafted Git source build step makes a repository appear to originate from a different remote URL than the one actually used during git clone, so repository-identity or URL-based policy rules can be evaded. The issue affects BuildKit builds prior to v0.33.1 and requires an attacker to hold build-submission privileges (CVSS vector PR:L); policies that validate commit SHA, commit data, or cryptographic signatures continue to apply correctly, which limits the practical impact (vendor CVSS 4.0 base 6.0, independent assessment 3.1 base with AC:H, low confidentiality and high integrity impact, no availability impact). No public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis; the vendor reports a patch is available.

RemediationAI

Vendor-released patch: upgrade BuildKit to v0.33.1 or later (https://github.com/moby/buildkit/releases/tag/v0.33.1), as directed by the advisory at https://github.com/moby/buildkit/security/advisories/GHSA-66hf-6vf5-87hc; where BuildKit ships bundled inside Docker Engine or a CI platform, track the upstream rebuild that incorporates 0.33.1 rather than patching the CLI alone. As a compensating control on unpatched instances, restrict who can submit builds to shared BuildKit daemons (build-submission privilege is the stated prerequisite), since that removes the attacker position entirely at the cost of narrowing developer workflows. Where policy enforcement is critical, do not rely on URL or remote-identity rules alone: the vendor confirms that validation based on commit SHA, commit data, or signatures still applies correctly, so tighten policies to pin immutable commit SHAs and require signed commits/attestations. Note the trade-off that SHA pinning breaks builds tracking branches and requires pipeline changes to resolve and update pinned refs. Also consider isolating the BuildKit daemon (separate builder per trust boundary, or rootless/remote builders for untrusted contributions), which reduces blast radius but increases infrastructure overhead.

Affected VersionsENISA

buildkit 0 ≤0.33.0

Affected Packages

euvd buildkit no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is classified as CWE-180 (Incorrect Behavior Order: Validate Before Canonicalize): BuildKit's handling of a Git source step appears to perform policy validation against a URL representation that has not been normalized the same way it is normalized when the actual git clone executes, creating a mismatch between the identity policy sees and the remote the build actually pulls from. BuildKit is the container-image build engine used by Docker and embedded in CI/CD pipelines, and its source policy / policy validation features are intended to let operators constrain which repositories builds may use, sometimes with stricter checks on commit SHA, commit data, or signatures. Because only the URL/remote-identity check is affected, the more rigorous cryptographic and content-based validations still function, and the issue does not grant unauthenticated access - it is an integrity-focused policy-bypass that matters where untrusted or semi-trusted parties can submit builds to a shared BuildKit instance. The CPE string cpe:2.3:a:moby:buildkit:*:*:*:*:*:*:*:* indicates all tracked versions are in scope up to the fixed release.

Know when Moby gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Docker) PRIMARY 6.0 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

Attacker needs build-submission privilege (PR:L) and specific crafting of the Git step (AC:H); impact is primarily policy/integrity bypass (I:H) with limited confidentiality and no availability effect.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.1 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Primary rating from Vendor (Docker).

CVSS VectorVendor: Docker

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A build step for a Git source, crafted in a specific way, can bypass some policy validation rules. A malicious build definition can make the repository look like it is coming from a different remote URL than it really is when Git clone is happening. If policy is doing more stricter validation, for example based on commit SHA, commit data, or signatures, then all these validations still apply correctly.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
BuildKit is the default build backend for Docker and CI pipelines
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Moby

View all
CVE-2023-28840 HIGH POC
8.7 Apr 04

Moby is an open source container framework developed by Docker Inc. Rated high severity (CVSS 8.7), this vulnerability i

CVE-2023-28841 MEDIUM POC
6.8 Apr 04

Moby is an open source container framework developed by Docker Inc. Rated medium severity (CVSS 6.8), this vulnerability

CVE-2024-36623 HIGH
8.1 Nov 29

moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger mult

CVE-2026-93318 HIGH
7.5 Oct 05

Cache poisoning in BuildKit lets a malicious image advertise DiffIDs that do not match its actual layer contents, so a d

CVE-2018-12608 HIGH
7.5 Sep 10

An issue was discovered in Docker Moby before 17.06.0. Rated high severity (CVSS 7.5), this vulnerability is remotely ex

CVE-2026-15793 HIGH
7.3 Jul 21

Argument injection in Moby BuildKit lets a malicious Git source trigger crafted command invocation on the build host whe

CVE-2026-93316 HIGH
7.1 Oct 05

Denial of service in Moby BuildKit allows a low-privileged remote user to crash the BuildKit daemon by submitting a buil

CVE-2026-17106 HIGH
7.1 Aug 18

Tar extraction path traversal in moby/go-archive allows an attacker who controls archive contents to create or overwrite

CVE-2026-15789 MEDIUM
6.9 Jul 21

Path traversal in the BuildKit daemon allows a client with valid control API access to craft a malicious upload request

CVE-2026-93322 MEDIUM
6.9 Oct 05

Denial of service in Moby BuildKit allows anyone able to submit an LLB build definition to a buildkitd daemon to panic a

CVE-2026-93323 MEDIUM POC
6.8 Oct 05

Denial of service in the BuildKit Dockerfile frontend (buildkitd) allows a user who can submit a build context to exhaus

CVE-2023-28842 MEDIUM
6.8 Apr 04

Moby) is an open source container framework developed by Docker Inc. Rated medium severity (CVSS 6.8), this vulnerabilit

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected
SUSE Linux Enterprise Micro 5.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy