BentoMLにおけるリンク解釈に関する脆弱性
タイトル BentoMLにおけるリンク解釈に関する脆弱性
概要

BentoMLは、AIアプリケーションやモデル推論に最適化されたオンラインサービングシステムを構築するためのPythonライブラリです。バージョン1.4.38およびそれ以前では、ビルドパッケージングのワークフローがビルドコンテキスト内の攻撃者が制御するシンボリックリンクをたどり、参照されたファイルの内容を生成されたBentoアーティファクトにコピーしてしまいます。被害者が信頼できないリポジトリや攻撃者が提供したビルドコンテキストをビルドすると、攻撃者はloot.txt - /tmp/outside-marker.txtのようなシンボリックリンクや、より機密性の高いローカルファイルへのリンクを配置できます。bentoml buildが実行されると、BentoMLはシンボリックリンクを参照し、そのターゲットファイルの内容をBentoにパッケージします。漏えいしたファイルはその後、エクスポート、プッシュ、またはコンテナ化のワークフローを通じてさらに拡散する可能性があります。攻撃者はビルドホストのローカルファイルをBentoアーティファクトに抽出して、クラウド認証情報、SSHキー、APIトークン、環境ファイル、その他の機密ローカル構成情報などの秘密情報を露出させることができます。Bentoアーティファクトは一般的にビルド後にエクスポート、アップロード、保存、コンテナ化されるため、漏えいしたファイルの内容が元のビルドマシンの範囲を超えて拡散する可能性があります。この問題はバージョン1.4.39で修正されています。

想定される影響 ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアは停止しません。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年5月22日0:00
登録日 2026年6月3日17:02
最終更新日 2026年6月3日17:02
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
影響を受けるシステム
BentoML
BentoML 1.4.39 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月03日]
  掲載
2026年6月3日17:02

NVD脆弱性情報
CVE-2026-40610
概要

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. In versions 1.4.38 and prior, the build packaging workflow follows attacker-controlled symlinks inside the build context and copies the referenced file contents into the generated Bento artifact. If a victim builds an untrusted repository or other attacker-supplied build context, the attacker can place a symlink such as loot.txt -> /tmp/outside-marker.txt or a link to a more sensitive local file. When bentoml build runs, BentoML dereferences the symlink and packages the target file contents into the Bento. The leaked file can then propagate further through export, push, or containerization workflows. An attacker can exfiltrate local files from the build host into the Bento artifact, exposing secrets such as cloud credentials, SSH keys, API tokens, environment files, or other sensitive local configurations. Because Bento artifacts are commonly exported, uploaded, stored, or containerized after build, the leaked file contents can spread beyond the original build machine. This issue has been fixed in version 1.4.39.

公表日 2026年5月23日5:16
登録日 2026年5月27日4:06
最終更新日 2026年5月30日3:53
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:bentoml:bentoml:*:*:*:*:*:*:*:* 1.4.39
関連情報、対策とツール
共通脆弱性一覧