All vulnerabilities

Servers and applications

CVE-2026-7020

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…

Severity
Low 2.9
Published
26 Apr 2026
Last changed
11 Nov 2026
Added to UpHeron
1 Nov 2026
Exploit chance
0.9% in the next 30 daysHigher than 60% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data
CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Sources
NVD

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.

From NVD.

Affected software

SoftwareAffected versions
OllamaServers and applications · cpe:a:ollama:ollama
  • From 0.20.0 up to 0.20.2

About Ollama

software for running large language models (LLMs) on a local computer or in the cloud

From Wikidata, CC0 1.0.
Docker Hub pulls
200,724,007Docker Hub, 15 Nov 2026
GitHub stars
187,005GitHub, 15 Nov 2026
Forks
19,091GitHub, 15 Nov 2026
Latest release
v0.40.16GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
MIT LicenseWikidata
Written in
GoWikidata
First released
8 Jul 2023Wikidata
First published on GitHub
26 Jun 2023GitHub

Vulnerabilities in Ollama

In our list
28
Published in the last 12 months
13
Critical, last 12 months
1
High, last 12 months
9
Known exploited
0
Search the list for Ollama

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-7020
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-7020