| タイトル | SGLangにおける複数の脆弱性 |
|---|---|
| 概要 | SGLangは、大規模言語モデル(LLM)やマルチモーダルモデルによる推論サーバを構築するためのフレームワークです。SGLangには以下の複数の脆弱性が存在します。 <ul><li>細工されたJinja2テンプレートがGGUFモデルファイルのtokenizer.chat_templateに含まれている場合、/v1/rerankエンドポイントへのアクセス時に、当該テンプレートがサンドボックスを使用せずにレンダリングされるため、任意のコードが実行される可能性がある(CVE-2026-5760)</li><li>マルチモーダル生成ランタイムのスケジューラがバインドするZeroMQのROUTERソケットにおいて、受信メッセージが検証されずにpickle.loads()でデシリアライズされるため、任意のコードが実行される可能性がある(CVE-2026-7301)</li><li>マルチモーダル生成ランタイムの/v1/images/editsと/v1/videosエンドポイントにおいて、アップロードされたファイルの名前が無害化されていないため、パストラバーサルにより任意のファイルが書き込まれる可能性がある(CVE-2026-7302)</li><li>--enable-custom-logit-processorオプションが有効な場合、生成エンドポイントのcustom_logit_processorフィールドに渡されるJSON文字列において、callableプロパティが検証されずにdill.loads()でデシリアライズされるため、任意のコードが実行される可能性がある(CVE-2026-7304)</li></ul> |
| 想定される影響 | 認証されていない攻撃者によって、任意のコードの実行や任意のファイルの書き込みが行われる可能性があります。 |
| 対策 | [アップデートする] 開発者が提供する情報をもとに最新版へアップデートしてください。CVE-2026-5760については、v0.5.11で修正されています。 [ワークアラウンドを実施する] CVE-2026-7301、CVE-2026-7302、CVE-2026-7304については、以下のワークアラウンドを実施することで、脆弱性の影響を軽減することが可能です。 <ul> <li>サービスのインターフェースへのアクセスを制限し、信頼できないネットワークに公開しない</li> <li>ネットワークの分離とアクセス制御を行い、脆弱なエンドポイントを保護する</li> </ul> |
| 公表日 | 2026年5月26日0:00 |
| 登録日 | 2026年5月27日12:17 |
| 最終更新日 | 2026年5月27日12:17 |
| LMSYS Org |
| SGLang |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月27日] 掲載 |
2026年5月27日12:17 |
| 概要 | SGLang's reranking endpoint (/v1/rerank) achieves Remote Code Execution (RCE) when a model file containing a malcious tokenizer.chat_template is loaded, as the Jinja2 chat templates are rendered using an unsandboxed jinja2.Environment(). |
|---|---|
| 公表日 | 2026年4月20日23:16 |
| 登録日 | 2026年4月21日4:09 |
| 最終更新日 | 2026年4月21日1:16 |
| 概要 | SGLangs multimodal generation runtime scheduler's ROUTER socket binds to 0.0.0.0 by default and contains a sink that calls pickle.loads() on incoming messages, enabling RCE when exposed to the internet. |
|---|---|
| 公表日 | 2026年5月18日21:16 |
| 登録日 | 2026年5月19日4:14 |
| 最終更新日 | 2026年5月19日22:49 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:lmsys:sglang:0.5.10:-:*:*:*:*:*:* | |||||
| 概要 | SGLangs multimodal generation runtime is vulnerable to an unauthenticated path traversal vulnerability, allowing an attacker to write arbitrary files anywhere the server process has write access, by including ../ sequences in the upload filename when sent to specific endpoints. |
|---|---|
| 公表日 | 2026年5月18日21:16 |
| 登録日 | 2026年5月19日4:14 |
| 最終更新日 | 2026年5月19日22:43 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:lmsys:sglang:0.5.10:-:*:*:*:*:*:* | |||||
| 概要 | SGLangs multimodal generation runtime is vulnerable to unauthenticated remote code execution when the --enable-custom-logit-processor option is enabled, as Python objects loaded via dill.loads() will be deserialized without validation. |
|---|---|
| 公表日 | 2026年5月18日21:16 |
| 登録日 | 2026年5月19日4:14 |
| 最終更新日 | 2026年5月19日22:38 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:lmsys:sglang:0.5.10:-:*:*:*:*:*:* | |||||