CVE-2024-37032: ollama Path Traversal
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.
Advisory lineage
Upstream 0 · Downstream 1 · Related 3Timeline
- 31-05-2024PublishedVulnerability first disclosed.
- 27-03-2025Last 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- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (vicarius.io)
Maturity: unknown
Ollama Model Registry Path Traversal RCE
exploit/linux/http/ollama_rce_cve_2024_37032
Maturity: weaponized
Weaknesses
CWE · root causeAffected 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
- ollama< 0.1.34
4 vendors · 6 products
References
10 links- github.com/ollama/ollamaPACKAGE