CVE-2026-7020

LOW CVSS 4.0: 2.9 EPSS 0.91%
Updated Jun 17, 2026
Ollama
Parameter Value
CVSS 2.9 (LOW)
Affected Versions 0.20.0 — 0.20.2
Type CWE-22 (Path Traversal)
Vendor Ollama
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Ollama Ollama
cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
0.20.0 <= 0.20.2