CVE-2026-7020CWE-22

Ollama Tensor Model Transfer transfer.go digestToPath path traversal

Medium · published April 26, 2026

CVSS v4.0
6.3
EPSS
1%
Percentile
59.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
EPSS
0.00900 · 59.3th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-04-26T04:45Z
EPSS history
Timeline
  • 26 APR 04:45Z
    Ollama Tensor Model Transfer transfer.go digestToPath path traversal
    cvelistv5