製品・ソフトウェアに関する情報
Ollamaにおけるダウンロードしたコードの完全性検証不備に関する脆弱性
Title Ollamaにおけるダウンロードしたコードの完全性検証不備に関する脆弱性
Summary

Ollama for Windowsは、ダウンロードされたアップデート実行ファイルの完全性や真正性を検証しません。他のプラットフォームとは異なり、Windows版のアップデート検証ルーチンは常に成功を返すため、アップデートのデジタル署名や信頼性の検証が行われません。その結果、攻撃者が提供した実行ファイルが受け入れられ、アプリケーションによって後に実行される可能性があります。重大な問題として、Ollama for Windowsはサイレントで自動的にアップデートを実行するため、悪意のあるペイロードがユーザーに気づかれないうちに自動的にインストールされる恐れがあります。この脆弱性はプロジェクトの管理者に早期に通知されましたが、脆弱性の詳細や影響を受けるバージョン範囲についての回答はありませんでした。バージョン0.12.10から0.17.5までがテストされ、脆弱であることが確認されており、他のバージョンもテストされていませんが同様に脆弱である可能性があります。

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

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

Publication Date April 29, 2026, midnight
Registration Date May 20, 2026, 1:30 p.m.
Last Update May 20, 2026, 1:30 p.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
Ollama
Ollama 0.12.10 から 0.17.5
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月20日]
  掲載
May 20, 2026, 1:30 p.m.

NVD Vulnerability Information
CVE-2026-42248
Summary

Ollama for Windows does not perform integrity or authenticity verification of downloaded update executables. Unlike other platforms, the Windows implementation of the update verification routine unconditionally returns success so no digital signature or trust validation is performed before staging or executing update payloads, enabling attacker‑supplied executables to be accepted and later executed by the application.

Critically, Ollama for Windows performs silent automatic updates, so the malicious payload may be installed automatically without user awareness.

Maintainers of this project were notified early about this vulnerability, but didn't respond with the details of vulnerability or vulnerable version range. Versions from 0.12.10 to 0.17.5 were tested and confirmed as vulnerable, other versions were not tested but might also be vulnerable.

Publication Date April 29, 2026, 9:16 p.m.
Registration Date April 30, 2026, 4:10 a.m.
Last Update May 1, 2026, 12:48 a.m.
Related information, measures and tools
Common Vulnerabilities List