Skip to main content

CVE-2026-93315: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in moby BuildKit

0
Medium
VulnerabilityCVE-2026-93315cvecve-2026-93315cwe-367
Published: 10/05/2026 (10/05/2026, 21:57:08 UTC)
Source: CVE Database V5
Vendor/Project: moby
Product: BuildKit

Description

CVE-2026-93315 is a medium severity vulnerability in moby BuildKit affecting versions from 0.31.0 up to but not including 0.33.1. It involves a time-of-check to time-of-use (TOCTOU) race condition when proxy networking with CA injection is enabled. This flaw allows a build process to modify its CA bundle before cleanup, potentially causing the cleanup operation to block, execute outside the intended build root filesystem, or fail without causing the build itself to fail.

CVSS v4.0

Score 5.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:L/SA:N

Affected software

moby

BuildKit

Affected versions
>=0.31.0 <0.33.1
GitHub Actionsmore threats →cve
github.com/moby/buildkit
pkg:github/github.com/moby/buildkit
Affected versions
>=0.31.0 <0.33.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/05/2026, 22:18:19 UTC

Technical Analysis

This vulnerability is a TOCTOU race condition (CWE-367) in moby BuildKit's handling of proxy networking with CA injection. When enabled, a build can alter its CA bundle before the cleanup phase. This can lead to the cleanup process blocking, operating outside the build root filesystem, or failing silently without failing the build. The issue affects versions >=0.31.0 and <0.33.1. The CVSS 4.0 score is 5.8 (medium severity), reflecting local attack vector with low complexity and partial impact on availability and integrity.

Potential Impact

An attacker with low privileges and the ability to influence the build process can cause the cleanup phase to malfunction. This may result in resource cleanup blocking indefinitely, cleanup actions occurring outside the intended build environment, or silent failures in cleanup. While the build itself does not fail, these side effects could lead to resource exhaustion or unintended persistence of modified CA bundles, potentially impacting system integrity and availability.

Mitigation Recommendations

No vendor advisory or patch information is provided in the input data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid enabling proxy networking with CA injection in affected versions or restrict build privileges to trusted users to minimize risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Docker
Date Reserved
2026-09-17T17:17:25.321Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac41ec82cdf04f6564019f4

Added to database: 10/05/2026, 22:03:52 UTC

Last enriched: 10/05/2026, 22:18:19 UTC

Last updated: 10/05/2026, 22:19:02 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses