# CVE-2026-7020

> Vulnerability · severity: **LOW** (CVSS 3.7).

## 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.

## Key facts

- **CVE ID:** CVE-2026-7020
- **Published:** 2026-04-26
- **CVSS severity:** LOW
- **CVSS base score:** 3.7
- **CWE codes:** CWE-22

## Affected products

- `ollama:ollama`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-7020

## Citation

> AI Analytics. CVE-2026-7020. Retrieved 2026-07-19 from https://api.ai-analytics.org/cve/CVE-2026-7020. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*