脆弱性の一覧へ戻る
編集部の見出し:Ollama 0.14.3〜0.35.0 未満:/api/pull からモデル置き場の外へファイルを書かれ、再起動後に root で動く
NVD の情報
Ollama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests by the `digestToPath` function. An unauthenticated remote attacker can specify a path traversal sequence as a layer digest, causing a malicious binary to be written outside the model store. Critically if the server process has write access to `/usr/lib/ollama` (the default in most Ollama Docker images), an attacker can write the malicious file to that directory. On the next server restart, the file is loaded and executed, resulting in remote code execution as root. This issue was fixed in version 0.35.0.
- 公開日
- 2026-10-08
- 最終更新(NVD)
- 2026-11-17
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-23、CWE-913
深刻度(CVSS)
- 9.4 CriticalCVSS 4.0/副/評価:cvd@cert.pl
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.71%(全体の上位 45.7%、評価日 2026-11-17)
解消方法
- Ollama のバージョンアップ0.35.0 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-17 のレポートOllama 0.14.3〜0.35.0 未満:/api/pull からモデル置き場の外へファイルを書かれ、再起動後に root で動く
CERT Polska の公告(10/8)。ログインのいらない遠隔の攻撃者。/usr/lib/ollama に書ける構成(多くの Docker イメージの既定)では再起動後に root でコード実行。11/17 に NVD の記録に 9.4 が付いた。
悪用状況(編集部):不明
公告に記載の修正版
- Ollama 0.35.0公告
参照(NVD)
NVD から取得:2026-11-18T12:05:40.158Z/EPSS 評価日:2026-11-17
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。