Skip to main content
← All vulnerabilities
CVE-2026-7020GO-2026-5750GHSA-X99G-8V8J-25J2

Ollama Tensor Model Transfer transfer.go digestToPath path traversal

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

A security flaw has been discovered in Ollama up to 0.20.2. This affects the function digestToPath of the file x/imagegen/transfer/transfer.go of the component Tensor Model Transfer Handler. The manipulation of the argument digest results in path traversal. The attack may be performed from remote. This attack is characterized by high complexity. The exploitability is reported as difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a Ollama

    0.20.0, 0.20.1, 0.20.2

  • github.com/ollama/ollamaGo

    All versions

  • github.com/ollama/ollamaGo

    through 0.20.2

References 4

VulDB

GitHub · davidrxchester/CVE-2026-7020