# CVE-2024-45436: Ollama can extract members of a ZIP archive outside of the parent directory

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.56%, higher than 85% of CVEs (2026-12-01)
- Published: 2024-08-29T00:00:00.000Z
- Modified: 2026-06-17T07:54:12.700Z
- Also known as: GHSA-846m-99qv-67mg, GO-2024-3104
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ollama ollama: before 0.1.47
- github.com/ollama/ollama (Go): before 0.1.47

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/ollama/ollama/pull/5314> (fix, patch, web)
- <https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45436> (advisory)
- <https://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527> (fix, web)
- <https://github.com/ollama/ollama> (package)
- <https://github.com/advisories/GHSA-846m-99qv-67mg> (advisory)

## Sources

- CVE List: [CVE-2024-45436](https://www.cve.org/CVERecord?id=CVE-2024-45436), CVE Terms of Use, modified 2024-08-29
- GitHub Advisory Database: [GHSA-846m-99qv-67mg](https://github.com/advisories/GHSA-846m-99qv-67mg), CC-BY-4.0, modified 2024-08-30
- Go Vulnerability Database: [GO-2024-3104](https://pkg.go.dev/vuln/GO-2024-3104), CC-BY-4.0, modified 2024-12-12
- NVD: [CVE-2024-45436](https://nvd.nist.gov/vuln/detail/CVE-2024-45436), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45436 · Whole record: https://cve.day/CVE-2024-45436.json · Rebuilt by cve.day 2026-11-25T22:58:44.846Z
