# CVE-2026-42248, CVE-2026-42249: Ollama on Windows doesn't verify updates, writes anywhere

**URL:** <https://ifin.network/t/cve-2026-42248-cve-2026-42249-ollama-on-windows-doesnt-verify-updates-writes-anywhere/378>\
**Category:** Vulnerabilities\
**Tags:** ai, path-traversal, cve\
**Created:** [May 5, 2026, 5:39pm UTC](https://ifin.network/t/cve-2026-42248-cve-2026-42249-ollama-on-windows-doesnt-verify-updates-writes-anywhere/378 "2026-05-05T17:39:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mttaggart](https://ifin.network/user_avatar/ifin.network/mttaggart/32/7_2.png) [@mttaggart](https://ifin.network/u/mttaggart)\
**Post date:** [May 5, 2026, 5:39pm UTC](https://ifin.network/t/cve-2026-42248-cve-2026-42249-ollama-on-windows-doesnt-verify-updates-writes-anywhere/378/1 "2026-05-05T17:39:19Z")

</div>

Oh cool Ollama on Windows has unpatched vulnerabilities that lead to Ollama downloading unverified updates from a malicious URL if set locally, and also a path traversal vulnerability leads to arbitrary file write.

[CVE-2026-42248](https://www.cve.org/CVERecord?id=CVE-2026-42248) for the missing verification.

[CVE-2026-42249](https://www.cve.org/CVERecord?id=CVE-2026-42249) for the path traversal.

Disclosure without patch.

> **[Ollama Updates Itself Into Persistent RCE on Windows](https://www.striga.ai/research/ollama-windows-auto-update-rce)**
>
> A path traversal and a missing signature check in Ollama's Windows updater, surfaced by Striga, chain into persistent code execution that runs on every login.

---

<div class="post-metadata">

**Author:** ![NosirrahSec](https://ifin.network/user_avatar/ifin.network/nosirrahsec/32/462_2.png) [@NosirrahSec](https://ifin.network/u/NosirrahSec)\
**Post date:** [May 6, 2026, 8:12am UTC](https://ifin.network/t/cve-2026-42248-cve-2026-42249-ollama-on-windows-doesnt-verify-updates-writes-anywhere/378/2 "2026-05-06T08:12:18Z")

</div>

Sigh.

> the Windows implementation of the update verification routine unconditionally returns success

Why even write the verification at all?

I really don’t understand how I’m still unemployed and these people are just rolling in money.
