Path Traversal in Ollama
CVE-2024-45436
extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.026, 85.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
4 public repositories with exploit or proof-of-concept code for this CVE:
- srcx404/CVE-2024-45436 (6 stars, last pushed 2025-04-17): exploit script for CVE-2024-45436
- pankass/CVE-2024-37032_CVE-2024-45436
- pankass/CVE-2024-45436
- XiaomingX/cve-2024-45436-exp
Also mentioned in 9 other repositories (ARPSyndicate/cve-scores, badboy0/Ollama_Exploit_Tool, dansarmiento/ollama_sql_runner, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.