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.
CVE-2024-37032
Score elevated to 9.0 because EPSS predicts 94% probability of exploitation within the next 30 days (top 0.1% of all CVEs). NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 90%
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 9.0(high)
- EPSS
- 99.8%
- KEV
- Not listed
Published
May 31, 2024
Last Modified
May 1, 2025
References (8)
- cve@mitrehttps://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58
- cve@mitrehttps://github.com/ollama/ollama/compare/v0.1.33...v0.1.34
- cve@mitrehttps://github.com/ollama/ollama/pull/4175
- cve@mitrehttps://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032
- af854a3a-2127-422b-91ae-364da2661108https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58
- af854a3a-2127-422b-91ae-364da2661108https://github.com/ollama/ollama/compare/v0.1.33...v0.1.34
- af854a3a-2127-422b-91ae-364da2661108https://github.com/ollama/ollama/pull/4175
- af854a3a-2127-422b-91ae-364da2661108https://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/ollama/ollama | — | 0.1.34 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 5× in last 7d / 18× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-14 07:40 UTCOSV refresh
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-26 05:16 UTCOSV refresh
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 16:11 UTCOSV refresh
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
Show 8 moreShow fewer
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 00:44 UTCEG score recompute
Publicly available exploits
(5 references)Working exploit code is in the public domain (1 Metasploit module) (3 GitHub PoCs). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- GitHub PoCitzSh4dowxZ/CVE-2024-37032-PoCFirst seen May 19, 2026
PoC for CVE-2024-37032 (Probllama): Ollama <=0.1.33 path traversal/arbitrary file write via model digest handling, using a FastAPI rogue registry, connector workflow, and shared object preload demo for authorized lab testing.
Open source ↗ - GitHub PoCpankass/CVE-2024-37032_CVE-2024-45436First seen Oct 21, 2024
CVE-2024-45436
Open source ↗ - GitHub PoCBi0x/CVE-2024-37032First seen Jun 26, 2024
Path traversal in Ollama with rogue registry server
Open source ↗ - Metasploitexploit/linux/http/ollama_rce_cve_2024_37032✓ verifiedFirst seen May 5, 2024
Ollama Model Registry Path Traversal RCE
Open source ↗ - Nucleihttp/cves/2024/CVE-2024-37032.yamlFirst seen Jan 1, 2024
Ollama - Remote Code Execution
Open source ↗
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2024-37032?
When was CVE-2024-37032 disclosed?
Is CVE-2024-37032 actively exploited?
What is the CVSS score of CVE-2024-37032?
How do I remediate CVE-2024-37032?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-37032
Is Your Infrastructure Affected by CVE-2024-37032?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.