What is CVE-2026-103663?
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.
The record classifies CVE-2026-103663 under weakness classes CWE-23, CWE-913. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 6 days ago.
Severity and exploitation probability
- CVSS v4.0 base score
- 6.9 — Medium (derived from score)
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 - EPSS (FIRST)
- 0.7% probability of exploitation in the next 30 days, higher than 52.3% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 5.5/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-10-08
Is CVE-2026-103663 being exploited?
No public exploitation evidence for CVE-2026-103663 is recorded in the sources Threadlinqs tracks — CISA KEV, Exploit-DB, public proof-of-concept repositories and ProjectDiscovery Nuclei — as of 2026-10-08. That is an absence of evidence in those feeds, not a guarantee that the vulnerability is unexploited.
Affected products and versions
- Ollama: Ollama
How to fix CVE-2026-103663
No vendor patch reference has been recorded for CVE-2026-103663 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2026-103663
1 tracked threat in the Threadlinqs corpus references CVE-2026-103663, either in the campaign’s CVE list or as an indicator on the campaign record.
Sources
Enriched from CVE.org, NVD, FIRST EPSS, GitHub Security Advisories. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.