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 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.
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
Affected products
| Product | Versions |
|---|---|
Ollama OllamaComponent identitycpe:2.3:a:ollama:ollama | from 0.20.0 through 0.20.2 |
Source evidence and freshness
Lifecycle: Modified. Technical severity: CVSS 4.0 · Provider: not recorded. Exploitation evidence and inventory applicability are separate assessments.
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
Remediation by product and branch
Ollama Ollama
from 0.20.0 through 0.20.2
verification required
Configuration prerequisites require review
Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.
NVD · Verified: not recorded
FIRST EPSS forecast
No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.
A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits
Sources: NVD and CISA known exploited vulnerabilities catalogue.