CVE-2026-7020

published 26 Apr 2026 · updated 11 Nov 2026

Ollama Tensor Model Transfer transfer.go digestToPath path traversal

4.7MediumCVSS 3.7EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Ollamaollama>=0.20.0 <=0.20.2
=0.20.0, =0.20.1, =0.20.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-7020 severity on Zeptric[![CVE-2026-7020](https://zeptric.io/badge/cve/CVE-2026-7020.svg)](https://zeptric.io/cve/CVE-2026-7020)