What’s Vulnerable › Vulnerabilities
CVE-2026-7020: Ollama Tensor Model Transfer transfer.go digestToPath path traversal
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-26 · updated 2026-06-17
- Weakness: CWE-22
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 products
- Ollama: from 0.20.0 through 0.20.2
References
- https://vuldb.com/submit/797576
- https://vuldb.com/vuln/359599
- https://vuldb.com/vuln/359599/cti
- https://vuldb.com/submit/797576
Get alerted when CVE-2026-7020 or the next vulnerability affects your stack