Intel

AIKIDO-2026-371687

github.com/ollama/ollama is vulnerable to Download of Code Without Integrity Check

CVE-2026-42248Published Jul 17, 2026
July 17, 2026

77

CVE Score

High

Download of Code Without Integrity Check

Are you affected? Scan for Free

TL;DR

On Windows, the bundled desktop application update verification routine returns success without checking the downloaded installer's authenticity, so no digital signature or trust validation occurs before the staged installer is executed by the silent auto-updater. An attacker who can supply or tamper with the update payload can have an arbitrary executable accepted and run. Combined with the updater path-traversal issue this enables persistent remote code execution. The fix adds verifyWindowsInstallerSignature, which calls WinVerifyTrustEx for Authenticode verification and confirms the signer organization is Ollama Inc., aborting the upgrade and removing the staged bundle when verification fails.

How do I fix this?

Upgrade the github.com/ollama/ollama library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and using the bundled Windows desktop application automatic update flow.

Versions

0.12.10 - 0.23.2

Fixed in 0.23.3

Background info

github.com/ollama/ollama is vulnerable to Download of Code Without Integrity Check in versions 0.12.10 - 0.23.2.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea