CVE-2026-75593: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in moby buildkit
CVE-2026-75593 is a path traversal vulnerability in moby buildkit prior to version 0.31.2. It allows a custom client with valid BuildKit control API permissions to craft an upload request that escapes the BuildKit-controlled state directory. This issue is fixed in version 0.31.2.
AI Analysis
Technical Summary
BuildKit is a toolkit for building software artifacts. In versions before 0.31.2, a client with valid permissions to the BuildKit control API can issue a specially crafted upload request that causes files to be written outside the intended BuildKit state directory, due to improper limitation of pathname inputs (CWE-22). This vulnerability is addressed in version 0.31.2.
Potential Impact
An attacker with valid BuildKit control API permissions can cause files to be written outside the designated state directory, potentially leading to unauthorized file writes or overwrites. However, exploitation requires valid permissions to the BuildKit control API, limiting the attack surface.
Mitigation Recommendations
Upgrade to BuildKit version 0.31.2 or later, where this path traversal vulnerability is fixed. No additional mitigation is required if the upgrade is applied.
CVE-2026-75593: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in moby buildkit
Description
CVE-2026-75593 is a path traversal vulnerability in moby buildkit prior to version 0.31.2. It allows a custom client with valid BuildKit control API permissions to craft an upload request that escapes the BuildKit-controlled state directory. This issue is fixed in version 0.31.2.
CVSS v4.0
Score 7.2high
Affected software
moby
buildkit
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
BuildKit is a toolkit for building software artifacts. In versions before 0.31.2, a client with valid permissions to the BuildKit control API can issue a specially crafted upload request that causes files to be written outside the intended BuildKit state directory, due to improper limitation of pathname inputs (CWE-22). This vulnerability is addressed in version 0.31.2.
Potential Impact
An attacker with valid BuildKit control API permissions can cause files to be written outside the designated state directory, potentially leading to unauthorized file writes or overwrites. However, exploitation requires valid permissions to the BuildKit control API, limiting the attack surface.
Mitigation Recommendations
Upgrade to BuildKit version 0.31.2 or later, where this path traversal vulnerability is fixed. No additional mitigation is required if the upgrade is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-17T23:49:03.449Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a86109dacd9273b4993aca1
Added to database: 08/19/2026, 20:22:53 UTC
Last enriched: 09/11/2026, 05:17:03 UTC
Last updated: 10/02/2026, 14:46:10 UTC
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.