# CVE-2026-7020 — Ollama

> As of 2026-10-08, CVE-2026-7020 is a LOW-severity vulnerability in Ollama, CVSS v3.1 3.7, EPSS 0.9% (58.4th percentile). Threadlinqs Intelligence links 1 tracked threat campaign to CVE-2026-7020, most recently “CVE-2026-103663: Ollama /api/pull path traversal (digestToPath) enables unauthenticated remote file write and root RCE”.

**Last updated:** 2026-10-08

## What is CVE-2026-7020?

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.

The record classifies CVE-2026-7020 under weakness class [CWE-22](https://intel.threadlinqs.com/cwe/CWE-22). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs no user interaction. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 207 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 3.7 — LOW (`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`)
- **CVSS v4.0 base score:** 6.3 (`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`)
- **EPSS (FIRST):** 0.9% probability of exploitation in the next 30 days, higher than 58.4% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 6.2/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-04-26

## Is CVE-2026-7020 being exploited?

Weaponised exploit code for CVE-2026-7020 is publicly available. 1 public proof-of-concept repository is tracked for this identifier.

- [davidrxchester/CVE-2026-7020](https://github.com/davidrxchester/CVE-2026-7020) (github)

## Affected products and versions

- **(vendor unspecified)**: Ollama

Affected software packages:

- `go:github.com/ollama/ollama`

## How to fix CVE-2026-7020

No vendor patch reference has been recorded for CVE-2026-7020 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-7020

1 tracked threat in the Threadlinqs corpus references CVE-2026-7020, either in the campaign’s CVE list or as an indicator on the campaign record.

- [CVE-2026-103663: Ollama /api/pull path traversal (digestToPath) enables unauthenticated remote file write and root RCE](https://intel.threadlinqs.com/threat/TL-2026-3051) — HIGH · 2026-10-08

## Sources

Enriched from CVE.org, FIRST EPSS, GitHub Security Advisories, public proof-of-concept repositories.

**Technical analysis**

- [vuldb.com — vdb entry](https://vuldb.com/vuln/359599)

**Third-party advisory**

- [vuldb.com — signature](https://vuldb.com/vuln/359599/cti)
- [vuldb.com — third party advisory](https://vuldb.com/submit/797576)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-7020
Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Sign up free (Blue): https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
