CVE-2026-7020: A security flaw has been discovered in Ollama up to 0.20.2
CVE-2026-7020 is a low-severity flaw (CVSS 3.7) affecting ollama. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 us
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.7 (Low) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-04-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-7020?
ollama: upgrade to newer than 0.20.2. Exact commands for each OS are on this page.
Is CVE-2026-7020 being exploited?
CVE-2026-7020 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-7020 affect?
CVE-2026-7020 affects ollama. Severity is low (CVSS 3.7). 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 i
How urgent is CVE-2026-7020?
Priority 38/100. Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-5757 HIGH 7.5 UPGRADE Unauthenticated remote information disclosure vulnerability in Ollama's model quantization engine allows an at
- CVE-2026-15685 HIGH 7.5 DOWNGRADE Ollama downloadBlob Improper Validation of Array Index Denial-of-Service Vulnerability
- CVE-2026-7482 CRITICAL 9.1 UPGRADE Ollama before 0.17.1 contains a heap out-of-bounds read vulnerability in the GGUF model loader
- CVE-2026-42249 CRITICAL 9.8 UPGRADE Ollama for Windows contains a Remote Code Execution vulnerability in its update mechanism due to improper hand
- CVE-2026-42248 CRITICAL 9.8 UPGRADE Ollama for Windows does not perform integrity or authenticity verification of downloaded update executables