A security flaw has been discovered in Ollama up to 0.20.2. This affects the function digestToPath of the…
Historical advisory recorded 25 Oct 2026 15:18:57 UTC. Read the latest advisory.
nvd · CVE-2026-7020
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-7020
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-22
Original publisher date fields
published: 2026-04-26T05:16:02.023
lastModified: 2026-06-17T11:01:39.140
1 source CPE criteria · context only
- cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON