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. A custom client with valid permissions to access the BuildKit control API can craft an upload request that allows files to escape the BuildKit-controlled state directory. This issue is fixed in version 0.31.2.
AI Analysis
Technical Summary
BuildKit is a toolkit used to convert source code into build artifacts. Before version 0.31.2, it was possible for a client with valid access permissions to the BuildKit control API to submit an upload request that causes files to be written outside the intended BuildKit-controlled state directory, due to improper limitation of pathname (CWE-22). This path traversal vulnerability could lead to unauthorized file writes outside the designated directory. The vulnerability is addressed in BuildKit version 0.31.2.
Potential Impact
An attacker with valid permissions to access the BuildKit control API can exploit this vulnerability to write files outside the BuildKit-controlled directory, potentially leading to unauthorized file modification or system compromise within the scope of the BuildKit daemon's permissions. The vulnerability does not require bypassing authentication but does require valid access to the control API.
Mitigation Recommendations
Upgrade BuildKit to version 0.31.2 or later, where this path traversal vulnerability has been fixed. Since the vulnerability requires valid permissions to the BuildKit control API, ensure that access to this API is properly restricted and monitored.
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. A custom client with valid permissions to access the BuildKit control API can craft an upload request that allows files to escape the BuildKit-controlled state directory. This issue is fixed in version 0.31.2.
CVSS v4.0
Score 7.2high
Affected software
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 used to convert source code into build artifacts. Before version 0.31.2, it was possible for a client with valid access permissions to the BuildKit control API to submit an upload request that causes files to be written outside the intended BuildKit-controlled state directory, due to improper limitation of pathname (CWE-22). This path traversal vulnerability could lead to unauthorized file writes outside the designated directory. The vulnerability is addressed in BuildKit version 0.31.2.
Potential Impact
An attacker with valid permissions to access the BuildKit control API can exploit this vulnerability to write files outside the BuildKit-controlled directory, potentially leading to unauthorized file modification or system compromise within the scope of the BuildKit daemon's permissions. The vulnerability does not require bypassing authentication but does require valid access to the control API.
Mitigation Recommendations
Upgrade BuildKit to version 0.31.2 or later, where this path traversal vulnerability has been fixed. Since the vulnerability requires valid permissions to the BuildKit control API, ensure that access to this API is properly restricted and monitored.
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
- Remediation Level
- null
Threat ID: 6a86109dacd9273b4993aca1
Added to database: 08/19/2026, 20:22:53 UTC
Last enriched: 08/19/2026, 20:37:06 UTC
Last updated: 08/19/2026, 20:47:40 UTC
Views: 5
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.