EUVD Vulnerability Catalog

EUVD-2026-94962

Severity: MEDIUM Base Score: 6.9 CVSS Version: 4.0

Vulnerability Description

Ollama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests by the `digestToPath` function. An unauthenticated remote attacker can specify a path traversal sequence as a layer digest, causing a malicious binary to be written outside the model store.  Critically if the server process has write access to `/usr/lib/ollama` (the default in most Ollama Docker images), an attacker can write the malicious file to that directory. On the next server restart, the file is loaded and executed, resulting in remote code execution as root. This issue was fixed in version 0.35.0.

CVSS Vector Analysis

Below is the complete, human-readable breakdown of the CVSS metric string: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

▪ Attack Vector (AV): Network
▪ Attack Complexity (AC): Low
▪ Attack Requirements (AT): None
▪ Privileges Required (PR): None
▪ User Interaction (UI): None
▪ Vulnerability Confidentiality Impact (VC): None
▪ Vulnerability Integrity Impact (VI): Low
▪ Vulnerability Availability Impact (VA): None
▪ Subsequent Confidentiality Impact (SC): None
▪ Subsequent Integrity Impact (SI): Low
▪ Subsequent Availability Impact (SA): None

Affected Vendors & Systems

Vendor ollama

References & Advisory Links

Metadata Profile

Database Authority

European Union Agency for Cybersecurity (ENISA) EUVD

Assigner

CERT-PL

EPSS Probability

0

Known Aliases
GHSA-w8p2-phwr-px3r CVE-2026-103663
Published On

2026-10-08

Last Updated

2026-10-08