CVE-2026-7020
lowpriority · track · 10EPSS 0.009 · 60 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 2.6–6.3
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (6)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-x99g-8v8j-25j2Ollama is Vulnerable to Path Traversal2026-04-26ghsa · osvUS
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.
- GO-2026-5750Ollama is Vulnerable to Path Traversal in github.com/ollama/ollama2026-07-27vendor · osvUS
Ollama is Vulnerable to Path Traversal in github.com/ollama/ollama
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2026-7020cnnvd
- https://ollama.com/downloadPatchcnnvd
- https://vuldb.com/submit/797576enisa_euvd
- https://vuldb.com/vuln/359599enisa_euvd
- https://vuldb.com/vuln/359599/ctienisa_euvd
- https://vuldb.com/submit/797576ExploitThird Party AdvisoryVDB Entrynvd
- https://vuldb.com/vuln/359599Third Party AdvisoryVDB Entrynvd
- https://vuldb.com/vuln/359599/ctiPermissions Requirednvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan