Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 60%

CVE-2026-33747: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in moby buildkit

0
High
VulnerabilityCVE-2026-33747cvecve-2026-33747cwe-22
Published: 03/27/2026 (03/27/2026, 00:49:06 UTC)
Source: CVE Database V5
Vendor/Project: moby
Product: buildkit

Description

CVE-2026-33747 is a high-severity path traversal vulnerability in moby buildkit versions prior to 0.28.1. It allows a malicious custom BuildKit frontend, specified via `#syntax` or `--build-arg BUILDKIT_SYNTAX`, to write files outside the intended BuildKit state directory by sending a crafted API message. Well-known frontend images such as `docker/dockerfile` are not affected. The issue has been fixed in version 0.28.1.

CVSS v3.1

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
moby/buildkit
pkg:github/moby/buildkit
Affected versions
<0.28.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: 06/19/2026, 19:29:02 UTC

Technical Analysis

This vulnerability (CVE-2026-33747) in moby buildkit is a CWE-22 path traversal flaw affecting versions before 0.28.1. A malicious custom BuildKit frontend can exploit this by sending a specially crafted API message, enabling it to write files outside the designated BuildKit state directory. This could lead to unauthorized file writes impacting confidentiality, integrity, and availability. Officially recognized frontend images like `docker/dockerfile` are not vulnerable. The flaw has been resolved in buildkit version 0.28.1.

Potential Impact

Successful exploitation allows an attacker controlling a custom BuildKit frontend to write files outside the intended directory, potentially leading to arbitrary file creation or modification. This compromises confidentiality, integrity, and availability of the system where buildkit runs. However, well-known frontend images are not affected, limiting exposure to custom or untrusted frontends.

Mitigation Recommendations

Upgrade moby buildkit to version 0.28.1 or later, where this vulnerability is fixed. Avoid using untrusted custom BuildKit frontends as a temporary measure. Patch status is confirmed fixed in 0.28.1.

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
GitHub_M
Date Reserved
2026-03-23T18:30:14.124Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69c5da053c064ed76f01c442

Added to database: 03/27/2026, 01:14:45 UTC

Last enriched: 06/19/2026, 19:29:02 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 199

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