CVE-2024-39719

HIGH

ollama < 0.3.14 - File Existence Disclosure via CreateModel Route

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2024-39719. PoCs published by srcx404.

AI-analyzed exploit summary The repository contains a functional Python script that exploits CVE-2024-39719, a file existence disclosure vulnerability in Ollama versions ≤ 0.3.14. The script checks the Ollama version and tests for file existence via the `/api/create` endpoint, demonstrating the vulnerability by analyzing error messages.

Description

An issue was discovered in Ollama through 0.3.14. File existence disclosure can occur via api/create. When calling the CreateModel route with a path parameter that does not exist, it reflects the "File does not exist" error message to the attacker, providing a primitive for file existence on the server.

Exploits (1)

nomisec WORKING POC
by srcx404 · poc
https://github.com/srcx404/CVE-2024-39719

The repository contains a functional Python script that exploits CVE-2024-39719, a file existence disclosure vulnerability in Ollama versions ≤ 0.3.14. The script checks the Ollama version and tests for file existence via the `/api/create` endpoint, demonstrating the vulnerability by analyzing error messages.

Classification
Working Poc 95%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Ollama ≤ 0.3.14
No auth needed
Prerequisites: Access to the Ollama API endpoint
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 7.5
EPSS 0.0409
EPSS Percentile 89.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-209
Status published
Products (1)
ollama/ollama < 0.3.14
Published Oct 31, 2024
Tracked Since Feb 18, 2026