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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ollama | ollama | 0.30.0 – ≤ 0.33.2 | — |
Advisories 1
- WID-SEC-2026-3181 Ollama: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Sep 3, 2026
References
- GitHub Issue #17041 issue-tracking
- https://github.com/ollama/ollama product
- x/transfer/download.go at v0.33.2 technical-description
- VulnCheck Advisory: Ollama 0.30.0 through 0.33.2 SSRF via Cross-Host Tensor Blob Redirect third-party-advisory