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…

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: Fri Mar 27 2026 (03/27/2026, 00:49:06 UTC)
Source: CVE Database V5
Vendor/Project: moby
Product: buildkit

Description

CVE-2026-33747 is a path traversal vulnerability in moby buildkit versions prior to 0. 28. 1. It allows a malicious custom BuildKit frontend to write files outside the intended BuildKit state directory by crafting a specially designed API message. This issue requires the use of an untrusted frontend set via `#syntax` or `--build-arg BUILDKIT_SYNTAX`. Well-known frontend images like `docker/dockerfile` are not affected. The vulnerability has been fixed in version 0. 28. 1.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/03/2026, 13:32:33 UTC

Technical Analysis

BuildKit is a toolkit used for building software artifacts efficiently. Versions before 0.28.1 contain a CWE-22 path traversal vulnerability where a custom BuildKit frontend can cause files to be written outside the BuildKit state directory by sending a crafted API message. This can only be exploited if an untrusted frontend is used with the `#syntax` or `--build-arg BUILDKIT_SYNTAX` options. Official and well-known frontends such as `docker/dockerfile` do not exhibit this vulnerability. The issue was 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 code execution, data corruption, or denial of service. The CVSS v3.1 score is 8.4 (high), reflecting high confidentiality, integrity, and availability impacts. However, exploitation requires use of an untrusted frontend, limiting the attack surface.

Mitigation Recommendations

Upgrade BuildKit to version 0.28.1 or later where this vulnerability is fixed. Avoid using untrusted custom BuildKit frontends with the `#syntax` or `--build-arg BUILDKIT_SYNTAX` options. Using well-known frontend images like `docker/dockerfile` is not affected and considered safe. Patch status is confirmed fixed in v0.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: 3/27/2026, 1:14:45 AM

Last enriched: 4/3/2026, 1:32:33 PM

Last updated: 5/11/2026, 3:06:38 AM

Views: 132

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