製品・ソフトウェアに関する情報
Moby Projectのbuildkitにおける複数の脆弱性
Title Moby Projectのbuildkitにおける複数の脆弱性
Summary

BuildKitは、ソースコードを効率的かつ表現力豊かで再現可能な方法でビルドアーティファクトに変換するためのツールキットです。バージョン0.28.1以前では、Git URLのフラグメントのサブディレクトリコンポーネントの検証が不十分であり、チェックアウトされたGitリポジトリのルート外のファイルへアクセスが可能になる問題がありました。アクセス可能なファイルは同じマウントされたファイルシステム内に限定されます。この問題はバージョンv0.28.1で修正されました。この問題はサブパスコンポーネントを持つGit URLを使用するビルドにのみ影響します。回避策としては、信頼できないソースからDockerfileをビルドしないことや、サブディレクトリコンポーネントがシンボリックリンクを指す可能性がある信頼できないGitリポジトリの使用を避けることを推奨します。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 27, 2026, midnight
Registration Date April 21, 2026, 10:48 a.m.
Last Update April 21, 2026, 10:48 a.m.
CVSS3.0 : 重要
Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected System
Moby Project
buildkit 0.28.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月21日]
  掲載
April 21, 2026, 10:48 a.m.

NVD Vulnerability Information
CVE-2026-33748
Summary

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to version 0.28.1, insufficient validation of Git URL fragment subdir components may allow access to files outside the checked-out Git repository root. Possible access is limited to files on the same mounted filesystem. The issue has been fixed in version v0.28.1 The issue affects only builds that use Git URLs with a subpath component. As a workaround, avoid building Dockerfiles from untrusted sources or using the subdir component from an untrusted Git repository where the subdir component could point to a symlink.

Publication Date March 28, 2026, 12:16 a.m.
Registration Date April 27, 2026, 12:20 p.m.
Last Update April 20, 2026, 9:37 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* 0.28.1
Related information, measures and tools
Common Vulnerabilities List