CVE-2026-7020
LOW 2.9CVSS 4.0Ollama is Vulnerable to Path Traversal
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.
- Published
- 26 Apr 2026
- Last modified
- 11 Nov 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-x99g-8v8j-25j2GO-2026-5750
- Sources
- NVDJSONOSV GHSA-x99g-8v8j-25j2JSONOSV GO-2026-5750JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | LOW 2.9 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | LOW 2.6 | AV:N/AC:H/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ollama | ollamacpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:* |
>= 0.20.0, <= 0.20.2 | |
| OSV | Go | github.com/ollama/ollama | <= 0.20.2 | |
| OSV | Go | github.com/ollama/ollama | all versions |
References
- https://vuldb.com/submit/797576 · Exploit, Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/359599 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/359599/cti · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-7020 · ADVISORY
- https://github.com/ollama/ollama · PACKAGE
- https://github.com/advisories/GHSA-x99g-8v8j-25j2 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Apr 2026)