Vulnerability · Published Apr 26, 2026 · Assigned by VulDB
CVE-2026-7020Ollama Tensor Model Transfer transfer.go digestToPath path traversal
Low 3.7
In plain English
A low-severity path traversal in Ollama. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/ollama/ollama | no fix listed | GHSA-x99g-8v8j-25j2 |
| Go | github.com/ollama/ollama | no fix listed | GO-2026-5750 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:R
References
- VDB-359599 | Ollama Tensor Model Transfer transfer.go digestToPath path traversal vdb-entry, technical-description
- VDB-359599 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #797576 | Ollama v0.20.2 Information Disclosure third-party-advisory