6.3

CVE-2026-7020: ollama Path Traversal

CVSS: 6.3v4.0MediumModified
AliasesCGA-25cj-gwmq-8r4gCGA-67vm-7w59-27ghCGA-jc86-2g99-48cp
Published 26-04-2026Last modified 06-05-2026

Vulnerability summary

CVE-2026-7020 is a medium (CVSS 6.3) Path Traversal vulnerability in ollama. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 59.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.3/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.90%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 3 · Related 4

Timeline

  1. 26-04-2026
    PublishedVulnerability first disclosed.
  2. 06-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

11 scores · 5 sources · 4 versions

EPSS trend

Probability

0.90%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

-0.01 pp

From 0.91% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (vuldb.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • k8sgptAll versions (No fix recorded)
  • modsAll versions (No fix recorded)
Wolfi2 products
  • k8sgptAll versions (No fix recorded)
  • modsAll versions (No fix recorded)
Github.com/ollama1 product
  • ollama≤ 0.20.2 | All versions (No fix recorded)
Ollama1 product

4 vendors · 6 products

References

7 links