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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20241213T205935-1.1 | openSUSE-SU-2024:14599-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ollama +1 | 0.1.44-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Ollama Model Registry Path Traversal RCE
exploit/linux/http/ollama_rce_cve_2024_37032
GitHub 5 repositories
-
Bi0x/CVE-2024-37032 ★ 56 · Jun 26, 2024
Path traversal in Ollama with rogue registry server
-
itzSh4dowxZ/CVE-2024-37032-PoC ★ 8 · May 19, 2026
CVE-2024-37032 (Probllama) PoC for Ollama ≤0.1.33: path traversal and arbitrary file write via model digest handling, leading to automated privilege escalation.
-
pankass/CVE-2024-37032_CVE-2024-45436 ★ 8 · Oct 21, 2024
CVE-2024-45436
-
ahboon/CVE-2024-37032-scanner ★ 1 · Jul 10, 2024
CVE-2024-37032 scanner
-
dexteon/probllama-ollama-rce-cve-2024-37032 ★ 0 · Nov 12, 2026
CVE-2024-37032 (Probllama): Ollama path traversal to arbitrary file write and RCE. Lab-only PoC, Sigma detection, remediation. Authorized testing only.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Ollama - Remote Code Execution http/cves/2024/CVE-2024-37032.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/ollama/ollama | < 0.1.34 | 0.1.34 | GHSA-8hqg-whrw-pv92 |
Advisories 1
- openSUSE-SU-2024:14599-1 govulncheck-vulndb-0.0.20241213T205935-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/ollama/ollama/pull/4175
- https://github.com/ollama/ollama/compare/v0.1.33...v0.1.34
- https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58
- https://www.vicarius.io/vsociety/posts/probllama-in-ollama-a-tale-of-a-yet-another-rce-vulnerability-cve-2024-37032