CVE-2026-7020Ollama
Low 2.9 No auth needed
Follow: this CVE · Ollama · Ollama We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 2.9
- EPSS
- —
- Auth required
- No
- Published
- Apr 26, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Ollama.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/ollama/ollama |
≤ 0.20.2 |
no fixed version | — |
| Go | github.com/ollama/ollama |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-x99g-8v8j-25j2, GO-2026-5750). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ollama | ollama | ≥ 0.20.0 ≤ 0.20.2 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21551-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23216-1 · Aug 10, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23227-1 · Aug 10, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.