Skip to content
On CISA KEVHigh

CVE-2024-37032Ollama Path Traversal

Ollama does not validate the format of the digest (sha256 with 64 hex digits)

Published May 31, 2024 · Updated Nov 5, 2026 · Also known as CGA-62rj-c55h-3wxp, CGA-c5qx-57rh-c645, CGA-c8rq-c9v9-mh4f, CGA-m552-2969-37wc, GHSA-8hqg-whrw-pv92, GO-2024-2901, TR-24-0596

Key Facts

Patch immediately
  • CVE-2024-37032 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Ollama, ollama-cpu (wolfi), github.com/ollama/ollama (go) and 1 more product.
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Aug 22, 2024. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 54% probability of exploitation in the next 30 days.
  • Fixed versions are available, including github.com/ollama/ollama 0.1.34, govulncheck-vulndb 0.0.20241213T205935-1.1, Ollama 0.1.44-r0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

54%

Higher than 99.2% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

68/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Aug 22, 2024

83 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

12

Reports of active use

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVAug 22, 2024n/aNot reported
Industry KEV feedAug 22, 2024n/aNot reported

Affected Products

14 affected entries in total
ProductAffected versionsFixed in
OllamaOllamaSee advisory0.1.34
ollama-cpuwolfiSee advisory0.1.44-r0
github.com/ollama/ollamagoSee advisory0.1.34
govulncheck-vulndbopensuseSee advisory0.0.20241213T205935-1.1

Patched Releases

github.com/ollama/ollama

0.1.34

govulncheck-vulndb

0.0.20241213T205935-1.1

Ollama

0.1.44-r0, 0.1.34

ollama-cpu

0.1.44-r0

Timeline

  1. Publicly disclosed

    May 31, 2024

  2. Added to CIRCL KEV

    Aug 22, 2024

  3. Added to Industry KEV feed

    Aug 22, 2024

  4. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-37032 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.