Skip to main content

BuildKit CVE-2026-75593

| EUVDEUVD-2026-62839 HIGH
Path Traversal (CWE-22)
2026-08-19 security-advisories@github.com GHSA-wqjv-cjqw-p7p5
7.2
CVSS 4.0 · Vendor: github
Share

Severity by source

Vendor (github) PRIMARY
7.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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
vuln.today AI
9.6 CRITICAL

Network-reachable daemon requiring low-privilege API credentials; scope change applies because path traversal escapes BuildKit's sandbox to the underlying host filesystem.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:H/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Patch available
Aug 19, 2026 - 21:17 EUVD
Analysis Generated
Aug 19, 2026 - 20:51 vuln.today
CVE Published
Aug 19, 2026 - 20:17 cve.org
HIGH 7.2

DescriptionCVE.org

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.2, a custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access BuildKit control API to issue builds, eg., bypass authentication, etc. This issue is fixed in version 0.31.2.

AnalysisAI

Path traversal in BuildKit prior to v0.31.2 enables an authenticated API client to escape the daemon's controlled state directory by submitting a crafted upload request containing traversal sequences. Affected parties include any deployment where multiple principals share BuildKit API access - such as multi-tenant CI/CD infrastructure or shared Docker build environments. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Obtain valid BuildKit control API credentials
Delivery
Connect to BuildKit daemon over network or socket
Exploit
Craft upload request embedding path traversal sequences
Execution
Submit malicious build request to daemon
Persist
Daemon writes attacker-controlled file content outside state directory
Impact
Achieve arbitrary host filesystem write (e.g., drop malicious cron job or overwrite binary)

Vulnerability AssessmentAI

Exploitation Exploitation requires that the attacker possess valid credentials or permissions to access the BuildKit control API and issue build requests - explicitly stated in the CVE description ('The client needs to have valid permissions to access BuildKit control API to issue builds'). … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H) scores 7.2 and accurately captures a network-reachable, low-complexity flaw requiring only authenticated low-privilege API access, with no user interaction needed. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker who holds a valid BuildKit API token in a shared CI/CD environment crafts a malicious build-context upload request embedding path traversal sequences - for example, targeting ../../etc/cron.d/ - causing the BuildKit daemon to write attacker-controlled file content to a host cron directory. No public POC has been identified at time of analysis, but the attack pattern is well-understood for CWE-22 class vulnerabilities and would be straightforward to implement given API documentation.
Remediation Upgrade BuildKit to version 0.31.2 or later; the patched release and changelog are at https://github.com/moby/buildkit/releases/tag/v0.31.2, and the advisory at https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976 provides additional context. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours, inventory all BuildKit deployments and identify instances serving multiple API clients or teams. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

Share

CVE-2026-75593 vulnerability details – vuln.today

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