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.
Published: 2026-09-03
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Ollama does not validate the redirect destinations when pulling tensor-layer models, which allows an unauthenticated attacker to cause the server to download blobs from arbitrary hosts. A malicious registry can serve a crafted tensor-layer manifest that redirects the download to a target such as an internal host or a cloud metadata endpoint, enabling the attacker to exfiltrate sensitive data or interact with services that should be inaccessible from outside the network. This flaw is classified under CWE‑918. The impact is critical for confidentiality, integrity, and availability of services behind the vulnerable server.

Affected Systems

All installations of Ollama version 0.30.0 through 0.33.2 are susceptible. The vulnerability applies to the Ollama client and server implementation provided by the ollama:ollama product, regardless of operating system.

Risk and Exploitability

The flaw carries a CVSS score of 8.7, indicating a high severity level. No EPSS score is publicly available, and the vulnerability is not listed in the CISA KEV catalogue. Because the weakness is exploitable without authentication and relies solely on the ability to serve a malicious model manifest to the target host, the attack vector is inferred to be from an external source that can control a model registry. Once a registry is under attacker control, the vulnerable Ollama installation will automatically issue outbound GET requests to the attacker‑specified host, potentially exposing internal resources.

Generated by OpenCVE AI on September 3, 2026 at 15:38 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ollama to version 0.33.3 or later to eliminate the SSRF flaw.
  • If an upgrade is not immediately possible, restrict outbound network traffic from the Ollama process to trusted registries only by applying firewall or network policy rules that block connections to unknown hosts.
  • Disable or quarantine the use of tensor-layer model pulls from untrusted registries until the issue is resolved, or require secure registry authentication and stringent manifest validation before accepting downloads.

Generated by OpenCVE AI on September 3, 2026 at 15:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title Ollama 0.30.0 through 0.33.2 SSRF via Cross-Host Tensor Blob Redirect
First Time appeared Ollama
Ollama ollama
Weaknesses CWE-918
CPEs cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
Vendors & Products Ollama
Ollama ollama
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-03T14:41:50.099Z

Reserved: 2026-09-03T11:08:17.526Z

Link: CVE-2026-85180

cve-icon Vulnrichment

Updated: 2026-09-03T14:41:34.012Z

cve-icon NVD

Status : Received

Published: 2026-09-03T15:17:39.250

Modified: 2026-09-03T15:17:39.250

Link: CVE-2026-85180

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:45:05Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)