ZeroHour

CVE-2026-85180

large

Unauthenticated SSRF in Ollama model pulls via unvalidated redirects

CVSS 4.0
8.7 high
EPSS
<1%p21
Published
()
Modified
AI analysis

Ollama fails to validate redirect destinations when pulling tensor-layer models, a server-side request forgery flaw (CWE-918) that lets blob downloads be redirected to attacker-chosen hosts. An attacker who controls the registry serving the model can supply a malicious tensor-layer manifest, causing the Ollama server itself to issue unauthenticated GET requests to arbitrary internal hosts, including cloud metadata endpoints. The impact is high-confidentiality information exposure from the server's network — for example reading cloud instance metadata and credentials — with no integrity or availability impact in the CVSS 4.0 vector. Anyone running Ollama and pulling models from third-party or attacker-controlled registries is affected, particularly internet-exposed instances whose API can be reached by unauthenticated attackers. As of this analysis there is no public proof-of-concept, the flaw is not in CISA KEV, and EPSS estimates the 30-day exploitation probability at roughly 0.3%.

What to do: Upgrade Ollama to the latest release containing the redirect-validation fix (consult the vendor advisory for the exact fixed version, which is not stated in the source data). Until patched, avoid pulling tensor-layer models from untrusted or self-hosted registries, restrict the Ollama server's outbound network access, and block access to the cloud metadata service (e.g., 169.254.169.254) or enforce metadata API v2 on cloud hosts. Additionally, do not expose the Ollama API (default port 11434) to untrusted networks, since unauthenticated reach to the pull interface enables this attack.

Affected
Ollama (LLM runtime server)
Estimated exposure
large≈10,000–100,000 exposed deployments (tens of thousands of Ollama servers visible on default port 11434 in public internet scans; total installed base much… — Ollama has a very large installed base among local-LLM users, and recurring internet-wide scans find tens of thousands of unauthenticated instances on its default port 11434, but only deployments that pull models from attacker-controllable…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Ollama fails to validate redirect destinations when pulling tensor-layer models, allowing unauthenticated attackers to redirect blob downloads to arbitrary hosts. An attacker can control a registry, serve a malicious tensor-layer manifest, and cause the server to issue GET requests to internal hosts including cloud metadata endpoints.

Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/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

In the news

No ingested article mentions this CVE yet.