🔐 CVE Alert

CVE-2026-103663

UNKNOWN 0.0

Path Traversal leading to Remote Code Execution in Ollama

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-23 CWE-913
Vendor ollama
Product ollama
Published Oct 8, 2026
Last Updated Oct 8, 2026
Stay Ahead of the Next One

Get instant alerts for ollama ollama

Be the first to know when new unknown vulnerabilities affecting ollama ollama are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

Ollama / Ollama
0.34.2 < 0.35.0

References

NVD ↗ CVE.org ↗ EPSS Data ↗
cert.pl: https://cert.pl/en/posts/2026/10/CVE-2026-103663/ ollama.com: https://ollama.com/

Credits

Bartłomiej Dmitruk (striga.ai)