CVE-2026-7020
published medium CVSS 4.0 · 6.3Ollama Tensor Model Transfer transfer.go digestToPath path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Ollama0.20.0 · 0.20.1 · 0.20.2 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulDB · cna | 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 | — |
| 3.0 | 3.7 | low | VulDB · cna | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R | — |
| 2.0 | 2.6 | low | VulDB · cna | AV:N/AC:H/Au:N/C:P/I:N/A:N/E:POC/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Ollama | 0.20.0 (affected)0.20.1 (affected)0.20.2 (affected) | VulDB · cna |
Weaknesses
1- CWE-22 Path Traversal
References
3- Submit #797576 | Ollama v0.20.2 Information Disclosure https://vuldb.com/submit/797576
- VDB-359599 | Ollama Tensor Model Transfer transfer.go digestToPath path traversal https://vuldb.com/vuln/359599
- VDB-359599 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/359599/cti
Provider assertions
2VulDB · cna
Ollama Tensor Model Transfer transfer.go digestToPath path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c74eccf6c944d073975231f1abf26accdd615d3c5ef0be328a042369b80259d3
- Ingested
- 23 Sep 2026, 09:33:25 UTC
- Source record
- Official CVE record