CVE-2026-103663
Kritisch 9,4 PoC auf GitHubOllama is vulnerable to path traversal in the `/api/pull` endpoint due to insufficient validation of layer digests by the `digestToPath` function. An unauthenti...
- CVSS
- 9,4 (v4.0)
- Angriffswahrscheinlichkeit (EPSS)
- 0,74 % (höher als 55,9 % aller Lücken)
- Veröffentlicht
- 08.10.2026
- Zuletzt geändert
- 17.11.2026
Öffentlicher Angriffscode
Ein Proof of Concept auf GitHub, darunter striga-ai/CVE-2026-103663. Ungeprüft: solche Repositories enthalten manchmal selbst Schadcode.
Beschreibung
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.
Quellen
Weitere Kennungen
CWE-23 · CWE-913
Sind Ihre Projekte betroffen?
Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.