SecurityContext

CVE-2026-42248: Ollama - Authentication Bypass

  • Cve: CVE-2026-42248
  • Name: Ollama - Authentication Bypass
  • Description: 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.
  • Impact: Attackers can execute arbitrary code via malicious update payloads installed silently without user awareness.
  • Remediation: Update to the latest version with proper update verification.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: remote_code_execution
  • Requirements: Attacker must supply malicious update executables
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00733
  • Epss percentile: 0.55102
  • Assignee: [email protected]
  • Published at: 2026-04-29T12:16:18Z
  • Age in days: 209
  • Modified at: 2026-11-11T21:10:00Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-42248
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-494Download of Code Without Integrity Check

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/persistence/ollama_auto_update.rbmetasploit2026-04-29

References

UrlSourceTags
https://cert.pl/en/posts/2026/04/CVE-2026-42248/nvdThird Party Advisory
https://ollama.com/nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
ollama:ollama>= 0.12.10, <= 0.17.5yesnvd/v1/products/ollama/ollama

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-29
  • Remote: yes
  • Exposed hosts: 833
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports