8.8

CVE-2024-37032: ollama Path Traversal

CVSS: 8.8v3.1HighAnalyzed
AliasesCGA-62rj-c55h-3wxpCGA-c5qx-57rh-c645CGA-c8rq-c9v9-mh4f
Published 31-05-2024Last modified 27-03-2025

Vulnerability summary

CVE-2024-37032 is a high (CVSS 8.8) Path Traversal vulnerability in ollama. EPSS estimates a 89.63% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
63/100
0100
High · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
89.63%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference, metasploit

Advisory lineage

Upstream 0 · Downstream 1 · Related 3

Timeline

  1. 31-05-2024
    PublishedVulnerability first disclosed.
  2. 27-03-2025
    Last modifiedVulnerability information updated.

Description

Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial ../ substring.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

89.63%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 89.63% on 21-09-2026

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

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (vicarius.io)

    Maturity: unknown

  • MetasploitMetasploitremoteVerified

    Ollama Model Registry Path Traversal RCE

    exploit/linux/http/ollama_rce_cve_2024_37032

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • ollama< 0.1.44-r0
  • ollama-cpu< 0.1.44-r0
Wolfi2 products
  • ollama< 0.1.44-r0
  • ollama-cpu< 0.1.44-r0
Github.com/ollama1 product
  • ollama< 0.1.34
Ollama1 product

4 vendors · 6 products

References

10 links