Vulnerability Report

CVE-2024-39722

Title: Ollama Path Traversal / LFI

Path Traversal / LFI

Proof Of Concept

PoC Available for CVE-2024-39722

CWE Category CWE-22
Published Date Oct 31, 2024
Modified Date May 13, 2025
Exploit Status Available
Score 7.5 CVSS v3.1
Exploit Probability (EPSS)
3.94%

Vulnerability Summary

CVE-2024-39722: An issue was discovered in Ollama before 0.1.46. It exposes which files exist on the server on which it is deployed via path traversal in the api/push route.

CVSS v3.1
Source Entity 134c704f-9b21-4f2e-91b3-4a467353bcc0
Severity HIGH
7.5
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2024-39722 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/srcx404/CVE-2024-39722
View Code
MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected Stack

No specific products linked.