{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0.30.0"
              },
              {
                "last_affected": "0.33.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "2c71d8d7ca6edbc9bdc1a312f71ce3b079c0fe56"
            },
            {
              "last_affected": "f96e7aa0513b9973a0ccc71be414c2ecb9d65b1a"
            }
          ],
          "repo": "https://github.com/ollama/ollama",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85180.json"
  },
  "details": "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.",
  "id": "CVE-2026-85180",
  "modified": "2026-09-05T03:30:21.476213451Z",
  "published": "2026-09-03T14:12:19.048Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85180.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85180"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ollama-0.30.0-through-0.33.2-ssrf-via-cross-host-tensor-blob-redirect"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/ollama/ollama/issues/17041"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/ollama/ollama"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/ollama/ollama/blob/v0.33.2/x/transfer/download.go"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Ollama 0.30.0 through 0.33.2 SSRF via Cross-Host Tensor Blob Redirect"
}