Vulnerability · Published Apr 26, 2026 · Assigned by VulDB

CVE-2026-7020Ollama Tensor Model Transfer transfer.go digestToPath path traversal

Low 3.7

In plain English

A low-severity path traversal in Ollama. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.9%top 39.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/ollama/ollamano fix listedGHSA-x99g-8v8j-25j2
Gogithub.com/ollama/ollamano fix listedGO-2026-5750

Affected products (as reported)

VendorProductVersions
n/a Ollama 0.20.00.20.10.20.2

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R

References